1. 02 Jul, 2015 1 commit
  2. 25 Jun, 2015 2 commits
  3. 16 Jun, 2015 1 commit
  4. 07 Jun, 2015 1 commit
  5. 31 May, 2015 1 commit
    • remote: apply insteadOf configuration. · ec0c4c40
      A remote's URLs are now modified according to the url.*.insteadOf
      and url.*.pushInsteadOf configurations. This allows a user to
      replace URL prefixes by setting the corresponding keys. E.g.
      "url.foo.insteadOf = bar" would replace the prefix "bar" with the
      new prefix "foo".
      Patrick Steinhardt committed
  6. 28 May, 2015 3 commits
  7. 17 May, 2015 1 commit
    • remote: get rid of the run-time refspec setters · 70f7484d
      These were left over from the culling as it's not clear which use-cases
      might benefit from this. It is not clear that we want to support any
      use-case which depends on changing the remote's idea of the base
      refspecs rather than passing in different per-operation refspec list, so
      remove these functions.
      Carlos Martín Nieto committed
  8. 13 May, 2015 10 commits
  9. 28 Apr, 2015 1 commit
    • Fix some build warnings · 69f0032b
      In checkout.c and filter.c we were casting a sub struct
      to a parent struct which breaks the strict aliasing rules
      in C. However we can use .parent or .base to access the
      parent struct to avoid the build warnings.
      
      In remote.c the local variable error was not initialized
      or updated in some cases. For unintialized error a build
      warning will be generated. So always keep error variable
      up-to-date.
      Leo Yang committed
  10. 18 Apr, 2015 1 commit
    • push: report the update plan to the caller · efc2fec5
      It can be useful for the caller to know which update commands will be
      sent to the server before the packfile is pushed up. git does this via
      the pre-push hook.
      
      We don't have hooks, but as it adds introspection into what is
      happening, we can add a callback which performs the same function.
      Carlos Martín Nieto committed
  11. 17 Mar, 2015 1 commit
  12. 11 Mar, 2015 1 commit
  13. 03 Mar, 2015 3 commits
    • config: borrow refcounted references · 9a97f49e
      This changes the get_entry() method to return a refcounted version of
      the config entry, which you have to free when you're done.
      
      This allows us to avoid freeing the memory in which the entry is stored
      on a refresh, which may happen at any time for a live config.
      
      For this reason, get_string() has been forbidden on live configs and a
      new function get_string_buf() has been added, which stores the string in
      a git_buf which the user then owns.
      
      The functions which parse the string value takea advantage of the
      borrowing to parse safely and then release the entry.
      Carlos Martín Nieto committed
    • push: remove reflog message override · 412a3808
      We always use "update by push".
      Carlos Martín Nieto committed
    • Remove the signature from ref-modifying functions · 659cf202
      The signature for the reflog is not something which changes
      dynamically. Almost all uses will be NULL, since we want for the
      repository's default identity to be used, making it noise.
      
      In order to allow for changing the identity, we instead provide
      git_repository_set_ident() and git_repository_ident() which allow a user
      to override the choice of signature.
      Carlos Martín Nieto committed
  14. 13 Feb, 2015 1 commit
  15. 08 Jan, 2015 1 commit
  16. 05 Jan, 2015 2 commits
  17. 01 Jan, 2015 1 commit
  18. 30 Dec, 2014 1 commit
  19. 14 Dec, 2014 5 commits
  20. 10 Dec, 2014 1 commit
  21. 23 Nov, 2014 1 commit