1. 22 Jul, 2013 2 commits
    • Use pool for loose refdb string allocations · c77342ef
      Instead of using lots of strdup calls, this adds a memory pool to
      the loose refs iteration code and uses it for keeping track of the
      loose refs array.  Memory usage could probably be reduced even
      further by eliminating the vector and just scanning by adding the
      strlen of each ref, but that would be a more intrusive changes.
      
      This also updates the error handling to be more thorough about
      checking for failed allocations, etc.
      Russell Belfer committed
    • git_reference_next_name must match git_reference_next · b7107131
      The git_reference_next API silently skips invalid references when
      scanning the loose refs.  The git_reference_next_name API should
      skip the same ones even though it isn't creating the reference
      object.
      
      This adds a test with a an invalid loose reference and makes sure
      that both APIs skip the same entries and generate the same results.
      Russell Belfer committed
  2. 19 Jul, 2013 7 commits
  3. 18 Jul, 2013 3 commits
  4. 17 Jul, 2013 3 commits
  5. 16 Jul, 2013 2 commits
  6. 15 Jul, 2013 7 commits
  7. 14 Jul, 2013 9 commits
  8. 13 Jul, 2013 5 commits
  9. 12 Jul, 2013 1 commit
  10. 11 Jul, 2013 1 commit