1. 13 Nov, 2013 1 commit
  2. 12 Nov, 2013 1 commit
  3. 11 Nov, 2013 1 commit
    • remote: make _ls return the list directly · 359dce72
      The callback-based method of listing remote references dates back to the
      beginning of the network code's lifetime, when we didn't know any
      better.
      
      We need to keep the list around for update_tips() after disconnect() so
      let's make use of this to simply give the user a pointer to the array so
      they can write straightforward code instead of having to go through a
      callback.
      Carlos Martín Nieto committed
  4. 02 Oct, 2013 1 commit
    • Support cancellation in push operation · 5b188225
      This commit adds cancellation for the push operation. This work consists of:
      
      1) Support cancellation during push operation
          - During object counting phase
          - During network transfer phase
              - Propagate GIT_EUSER error code out to caller
      2) Improve cancellation support during fetch
          - Handle cancellation request during network transfer phase
          - Clear error string when cancelled during indexing
      3) Fix error handling in git_smart__download_pack
      
      Cancellation during push is still only handled in the pack building and
      network transfer stages of push (and not during packbuilding).
      Jameson Miller committed
  5. 30 Sep, 2013 1 commit
    • Initial Implementation of progress reports during push · b176eded
      This adds the basics of progress reporting during push. While progress
      for all aspects of a push operation are not reported with this change,
      it lays the foundation to add these later. Push progress reporting
      can be improved in the future - and consumers of the API should
      just get more accurate information at that point.
      
      The main areas where this is lacking are:
      
      1) packbuilding progress: does not report progress during deltafication,
         as this involves coordinating progress from multiple threads.
      
      2) network progress: reports progress as objects and bytes are going
         to be written to the subtransport (instead of as client gets
         confirmation that they have been received by the server) and leaves
         out some of the bytes that are transfered as part of the push protocol.
         Basically, this reports the pack bytes that are written to the
         subtransport. It does not report the bytes sent on the wire that
         are received by the server. This should be a good estimate of
         progress (and an improvement over no progress).
      Jameson Miller committed
  6. 15 Aug, 2013 1 commit
    • push: handle tag chains correctly · 5ce6c1e9
      When dealing with a chain of tags, we need to enqueue each of them
      individually, which means we can't use `git_tag_peel` as that jumps
      over the intermediate tags.
      
      Do the peeling manually so we can look at each object and take the
      appropriate action.
      Carlos Martín Nieto committed
  7. 11 May, 2013 1 commit
  8. 01 May, 2013 1 commit
  9. 29 Apr, 2013 1 commit
  10. 20 Apr, 2013 1 commit
    • remote: handle multiple refspecs · 4330ab26
      A remote can have a multitude of refspecs. Up to now our git_remote's
      have supported a single one for each fetch and push out of simplicity
      to get something working.
      
      Let the remotes and internal code know about multiple remotes and get
      the tests passing with them.
      
      Instead of setting a refspec, the external users can clear all and add
      refspecs. This should be enough for most uses, though we're still
      missing a querying function.
      Carlos Martín Nieto committed
  11. 15 Apr, 2013 1 commit
  12. 09 Apr, 2013 1 commit
  13. 19 Mar, 2013 3 commits
  14. 11 Mar, 2013 1 commit
  15. 11 Feb, 2013 1 commit
  16. 08 Feb, 2013 1 commit
  17. 22 Jan, 2013 1 commit
  18. 17 Jan, 2013 1 commit
  19. 09 Jan, 2013 2 commits
  20. 08 Jan, 2013 1 commit
  21. 04 Jan, 2013 1 commit
    • Fix bug in gen_pktline() for deletes of missing remote refs · d73d52df
      * gen_pktline() in smart_protocol.c was skipping refspecs that deleted
        refs that were not advertised by the server.  The new behavior is to
        send a delete command with an old-id of zero, which matches the behavior
        of the official git client.
      * Update test_network_push__delete() in reaction to above fix.
      * Obviate messy logic that handles missing push_spec rrefs by canonicalizing
        push_spec.  After calculate_work(), loid, roid, and rref, are filled in with
        exactly what is sent to the server
      Congyi Wu committed
  22. 03 Jan, 2013 1 commit
    • Fix bug in gen_pktline() for deletes of missing remote refs · 4128f5aa
      * gen_pktline() in smart_protocol.c was skipping refspecs that deleted
        refs that were not advertised by the server.  The new behavior is to
        send a delete command with an old-id of zero, which matches the behavior
        of the official git client.
      * Update test_network_push__delete() in reaction to above fix.
      * Obviate messy logic that handles missing push_spec rrefs by canonicalizing
        push_spec.  After calculate_work(), loid, roid, and rref, are filled in with
        exactly what is sent to the server
      Congyi Wu committed
  23. 28 Nov, 2012 1 commit