1. 15 May, 2017 1 commit
  2. 14 Sep, 2015 1 commit
  3. 13 May, 2015 2 commits
    • remote: move the transport ctor to the callbacks · 058b753c
      Instead of having it set in a different place from every other callback,
      put it the main structure. This removes some state from the remote and
      makes it behave more like clone, where the constructors are passed via
      the options.
      Carlos Martín Nieto committed
    • Remove the callbacks struct from the remote · 8f0104ec
      Having the setting be different from calling its actions was not a great
      idea and made for the sake of the wrong convenience.
      
      Instead of that, accept either fetch options, push options or the
      callbacks when dealing with the remote. The fetch options are currently
      only the callbacks, but more options will be moved from setters and
      getters on the remote to the options.
      
      This does mean passing the same struct along the different functions but
      the typical use-case will only call git_remote_fetch() or
      git_remote_push() and so won't notice much difference.
      Carlos Martín Nieto committed
  4. 12 May, 2015 1 commit
  5. 17 Mar, 2015 1 commit
  6. 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
    • repository: remove log message override for switching the active branch · 4e498646
      We want to use the "checkout: moving from ..." message in order to let
      git know when a change of branch has happened. Make the convenience
      functions for this goal write this message.
      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
  7. 27 Feb, 2015 1 commit
  8. 08 Nov, 2014 1 commit
  9. 27 Oct, 2014 1 commit
  10. 22 Oct, 2014 1 commit
  11. 14 Aug, 2014 1 commit
    • Custom transport: minor cleanups · c180c065
       * Move the transport registration mechanisms into a new header under
         'sys/' because this is advanced stuff.
       * Remove the 'priority' argument from the registration as it adds
         unnecessary complexity.  (Since transports cannot decline to operate,
         only the highest priority transport is ever executed.)  Users who
         require per-priority transports can implement that in their custom
         transport themselves.
       * Simplify registration further by taking a scheme (eg "http") instead
         of a prefix (eg "http://").
      Edward Thomson committed
  12. 11 Jul, 2014 1 commit
  13. 02 Jul, 2014 1 commit
  14. 01 Jul, 2014 1 commit
  15. 27 Jun, 2014 1 commit
  16. 29 May, 2014 1 commit
  17. 28 May, 2014 3 commits
  18. 02 Apr, 2014 1 commit
  19. 07 Mar, 2014 1 commit
  20. 06 Mar, 2014 1 commit
  21. 30 Jan, 2014 3 commits
  22. 27 Jan, 2014 1 commit
  23. 11 Dec, 2013 1 commit
  24. 14 Nov, 2013 1 commit