1. 01 Jul, 2013 1 commit
  2. 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
  3. 31 May, 2013 1 commit
  4. 30 May, 2013 1 commit
  5. 29 May, 2013 1 commit
  6. 15 May, 2013 1 commit
  7. 11 May, 2013 1 commit
    • refs: remove the OID/SYMBOLIC filtering · 2b562c3a
      Nobody should ever be using anything other than ALL at this level, so
      remove the option altogether.
      
      As part of this, git_reference_foreach_glob is now implemented in the
      frontend using an iterator. Backends will later regain the ability of
      doing the glob filtering in the backend.
      Carlos Martín Nieto committed
  8. 10 May, 2013 1 commit
  9. 04 May, 2013 1 commit
  10. 01 May, 2013 2 commits
  11. 29 Apr, 2013 1 commit
  12. 23 Apr, 2013 1 commit
  13. 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
  14. 01 Mar, 2013 1 commit
  15. 06 Feb, 2013 1 commit
  16. 05 Feb, 2013 1 commit
  17. 27 Jan, 2013 1 commit
  18. 11 Jan, 2013 3 commits
  19. 08 Jan, 2013 1 commit
  20. 06 Jan, 2013 2 commits
    • clone: Fix a memory leak · d1aee477
      nulltoken committed
    • Allow to clone repositories that don't have a `master` branch · 2ba6f3c7
      Before this, we error out from `reference_matches_remote_head` if the
      reference we're searching for does not exist.
      Since we explicitly check if master is existing in `update_head_to_remote`
      and error out if it doesn't, a repository without master branch could
      not be cloned.
      In fact this was later clobbered by what is fixed in #1194.
      
      However, this patch introduces a `found` member in `head_info` and sets
      it accordingly. That also saves us from checking the string length of
      `branchname` a few times.
      Sascha Cunz committed
  21. 04 Jan, 2013 1 commit
  22. 02 Jan, 2013 1 commit
  23. 20 Dec, 2012 4 commits
  24. 14 Dec, 2012 2 commits
  25. 13 Dec, 2012 2 commits
  26. 27 Nov, 2012 3 commits
  27. 11 Nov, 2012 1 commit
  28. 09 Nov, 2012 1 commit
    • Extensions to rmdir and mkdir utilities · 331e7de9
      * Rework GIT_DIRREMOVAL values to GIT_RMDIR flags, allowing
        combinations of flags
      * Add GIT_RMDIR_EMPTY_PARENTS flag to remove parent dirs that
        are left empty after removal
      * Add GIT_MKDIR_VERIFY_DIR to give an error if item is a file,
        not a dir (previously an EEXISTS error was ignored, even for
        files) and enable this flag for git_futils_mkpath2file call
      * Improve accuracy of error messages from git_futils_mkdir
      Russell Belfer committed