1. 14 Aug, 2013 1 commit
    • Test SSH in travis · 5be622fb
      Set up the ssh credentials so we are able to talk to localhost and
      issue git commands. Move to use a script, as the command list is
      getting somewhat long.
      
      While here, delay installing valgrind until we need it, as it and its
      dependencies are by far the largest downloads and this allows us to
      start compiling (and failing) faster and we only incur this cost when
      the test suite runs successfully.
      Carlos Martín Nieto committed
  2. 12 Jul, 2013 1 commit
  3. 10 Jun, 2013 1 commit
    • Reorganize diff and add basic diff driver · 114f5a6c
      This is a significant reorganization of the diff code to break it
      into a set of more clearly distinct files and to document the new
      organization.  Hopefully this will make the diff code easier to
      understand and to extend.
      
      This adds a new `git_diff_driver` object that looks of diff driver
      information from the attributes and the config so that things like
      function content in diff headers can be provided.  The full driver
      spec is not implemented in the commit - this is focused on the
      reorganization of the code and putting the driver hooks in place.
      
      This also removes a few #includes from src/repository.h that were
      overbroad, but as a result required extra #includes in a variety
      of places since including src/repository.h no longer results in
      pulling in the whole world.
      Russell Belfer committed
  4. 04 May, 2013 1 commit
  5. 20 Apr, 2013 2 commits
    • remote: allow querying for refspecs · bc6374ea
      Introduce git_remote_{fetch,push}_refspecs() to get a list of refspecs
      from the remote and rename the refspec-adding functions to a less
      silly name.
      
      Use this instead of the vector index hacks in the tests.
      Carlos Martín Nieto committed
    • 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
  6. 15 Apr, 2013 1 commit
  7. 09 Mar, 2013 1 commit
  8. 11 Feb, 2013 1 commit
  9. 06 Feb, 2013 1 commit
  10. 05 Feb, 2013 3 commits
  11. 31 Jan, 2013 4 commits
  12. 28 Jan, 2013 1 commit
  13. 24 Jan, 2013 1 commit
  14. 22 Jan, 2013 1 commit
  15. 09 Jan, 2013 5 commits
  16. 04 Jan, 2013 2 commits
    • Clone should use GIT_CHECKOUT_SAFE_CREATE · b3fb9237
      For clone to work as expected, it should be using a SAFE_CREATE
      checkout (i.e. create files that are missing, even if the target
      tree matches the current HEAD).
      Russell Belfer committed
    • 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
  17. 02 Jan, 2013 2 commits