1. 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
  2. 15 Apr, 2013 3 commits
  3. 09 Apr, 2013 1 commit
  4. 07 Apr, 2013 1 commit
  5. 08 Jan, 2013 1 commit
  6. 30 Nov, 2012 1 commit
  7. 27 Nov, 2012 2 commits
  8. 27 Sep, 2012 1 commit
  9. 09 Sep, 2012 1 commit
  10. 05 Sep, 2012 1 commit
    • Diff iterators · f335ecd6
      This refactors the diff output code so that an iterator object
      can be used to traverse and generate the diffs, instead of just
      the `foreach()` style with callbacks.  The code has been rearranged
      so that the two styles can still share most functions.
      
      This also replaces `GIT_REVWALKOVER` with `GIT_ITEROVER` and uses
      that as a common error code for marking the end of iteration when
      using a iterator style of object.
      Russell Belfer committed
  11. 27 Aug, 2012 1 commit
  12. 11 Jul, 2012 1 commit
  13. 22 Jun, 2012 1 commit
  14. 11 Jun, 2012 1 commit
  15. 07 Jun, 2012 1 commit
  16. 17 May, 2012 2 commits
  17. 15 May, 2012 1 commit
    • really reset walker with git_revwalk_reset · 0b86fdf9
      From the description  of git_revwalk_reset in revwalk.h the function should
      clear all pushed and hidden commits, and leave the walker in a blank state (just like at creation).
      Apparently everything gets reseted appart of pushed commits (walk->one and walk->twos)
      
      This fix should reset the walker properly.
      Nico von Geyso committed
  18. 03 May, 2012 1 commit
  19. 26 Apr, 2012 1 commit
  20. 25 Apr, 2012 4 commits
  21. 23 Apr, 2012 1 commit
  22. 17 Apr, 2012 2 commits
    • Fix warnings on 64-bit windows builds · 44ef8b1b
      This fixes all the warnings on win64 except those in deps, which
      come from the regex code.
      Russell Belfer committed
    • Add git_reference_lookup_oid and lookup_resolved · f201d613
      Adds a new public reference function `git_reference_lookup_oid`
      that directly resolved a reference name to an OID without returning
      the intermediate `git_reference` object (hence, no free needed).
      
      Internally, this adds a `git_reference_lookup_resolved` function
      that combines looking up and resolving a reference.  This allows
      us to be more efficient with memory reallocation.
      
      The existing `git_reference_lookup` and `git_reference_resolve`
      are reimplmented on top of the new utility and a few places in the
      code are changed to use one of the two new functions.
      Russell Belfer committed
  23. 12 Apr, 2012 7 commits
  24. 02 Mar, 2012 1 commit
    • Clean up GIT_UNUSED macros on all platforms · 854eccbb
      It turns out that commit 31e9cfc4cbcaf1b38cdd3dbe3282a8f57e5366a5
      did not fix the GIT_USUSED behavior on all platforms.  This commit
      walks through and really cleans things up more thoroughly, getting
      rid of the unnecessary stuff.
      
      To remove the use of some GIT_UNUSED, I ended up adding a couple
      of new iterators for hashtables that allow you to iterator just
      over keys or just over values.
      
      In making this change, I found a bug in the clar tests (where we
      were doing *count++ but meant to do (*count)++ to increment the
      value).  I fixed that but then found the test failing because it
      was not really using an empty repo.  So, I took some of the code
      that I wrote for iterator testing and moved it to clar_helpers.c,
      then made use of that to make it easier to open fixtures on a
      per test basis even within a single test file.
      Russell Belfer committed
  25. 27 Feb, 2012 2 commits