1. 17 Sep, 2012 14 commits
  2. 15 Sep, 2012 1 commit
  3. 14 Sep, 2012 10 commits
  4. 13 Sep, 2012 1 commit
  5. 14 Sep, 2012 2 commits
  6. 13 Sep, 2012 10 commits
  7. 12 Sep, 2012 2 commits
    • odb_pack: try lookup before refreshing packs · ab8a0402
      This reduces the rate of syscalls for the common case of sequences of
      object reads from the same pack.
      
      Best of 5 timings for libgit2_clar before this patch:
      real    0m5.375s
      user    0m0.392s
      sys     0m3.564s
      
      After applying this patch:
      real    0m5.285s
      user    0m0.356s
      sys     0m3.544s
      
      0.6% improvement in system time.
      9.2% improvement in user time.
      1.7% improvement in elapsed time.
      
      Confirmed a 0.6% reduction in number of system calls with strace.
      
      Expect greater improvement for graph-traversal with large packs.
      David Michael Barr committed
    • Add tests and improve param checks · a13fb55a
      Fixed some minor `git_repository_hashfile` issues:
      
      - Fixed incorrect doc (saying that repo could be NULL)
      - Added checking of object type value to acceptable ones
      - Added more tests for various parameter permutations
      Russell Belfer committed