1. 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
  2. 31 May, 2013 1 commit
    • Make iterators use GIT_ITEROVER & smart advance · cee695ae
      1. internal iterators now return GIT_ITEROVER when you go past the
         last item in the iteration.
      2. git_iterator_advance will "advance" to the first item in the
         iteration if it is called immediately after creating the
         iterator, which allows a simpler idiom for basic iteration.
      3. if git_iterator_advance encounters an error reading data (e.g.
         a missing tree or an unreadable file), it returns the error
         but also attempts to advance past the invalid data to prevent
         an infinite loop.
      
      Updated all tests and internal usage of iterators to account for
      these new behaviors.
      Russell Belfer committed
  3. 17 May, 2013 1 commit
  4. 15 May, 2013 1 commit
  5. 02 May, 2013 1 commit
  6. 01 May, 2013 2 commits
  7. 30 Apr, 2013 3 commits
  8. 08 Jan, 2013 1 commit
  9. 07 Jan, 2013 1 commit
  10. 04 Jan, 2013 2 commits
  11. 03 Jan, 2013 2 commits
  12. 30 Nov, 2012 1 commit
  13. 29 Nov, 2012 3 commits
  14. 27 Nov, 2012 1 commit
  15. 25 Oct, 2012 1 commit