1. 27 Nov, 2012 1 commit
  2. 27 Sep, 2012 1 commit
  3. 09 Sep, 2012 1 commit
  4. 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
  5. 27 Aug, 2012 1 commit
  6. 11 Jul, 2012 1 commit
  7. 22 Jun, 2012 1 commit
  8. 11 Jun, 2012 1 commit
  9. 07 Jun, 2012 1 commit
  10. 17 May, 2012 2 commits
  11. 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
  12. 03 May, 2012 1 commit
  13. 26 Apr, 2012 1 commit
  14. 25 Apr, 2012 4 commits
  15. 23 Apr, 2012 1 commit
  16. 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
  17. 12 Apr, 2012 7 commits
  18. 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
  19. 27 Feb, 2012 2 commits
  20. 13 Feb, 2012 1 commit
  21. 07 Feb, 2012 1 commit
  22. 26 Nov, 2011 2 commits
    • Rename all `_close` methods · 45e79e37
      There's no difference between `_free` and `_close` semantics: keep
      everything with the same name to avoid confusions.
      Vicent Marti committed
    • repository: Change ownership semantics · 9462c471
      The ownership semantics have been changed all over the library to be
      consistent. There are no more "borrowed" or duplicated references.
      
      Main changes:
      
      	- `git_repository_open2` and `3` have been dropped.
      
      	- Added setters and getters to hotswap all the repository owned
      	objects:
      
      		`git_repository_index`
      		`git_repository_set_index`
      		`git_repository_odb`
      		`git_repository_set_odb`
      		`git_repository_config`
      		`git_repository_set_config`
      		`git_repository_workdir`
      		`git_repository_set_workdir`
      
      	Now working directories/index files/ODBs and so on can be
      	hot-swapped after creating a repository and between operations.
      
      	- All these objects now have proper ownership semantics with
      	refcounting: they all require freeing after they are no longer
      	needed (the repository always keeps its internal reference).
      
      	- Repository open and initialization has been updated to keep in
      	mind the configuration files. Bare repositories are now always
      	detected, and a default config file is created on init.
      
      	- All the tests affected by these changes have been dropped from the
      	old test suite and ported to the new one.
      Vicent Marti committed
  23. 29 Oct, 2011 1 commit
  24. 22 Sep, 2011 1 commit
  25. 18 Sep, 2011 1 commit
    • Cleanup legal data · bb742ede
      1. The license header is technically not valid if it doesn't have a
      copyright signature.
      
      2. The COPYING file has been updated with the different licenses used in
      the project.
      
      3. The full GPLv2 header in each file annoys me.
      Vicent Marti committed
  26. 30 Aug, 2011 1 commit
  27. 25 Aug, 2011 1 commit