1. 10 Mar, 2018 1 commit
    • sha1_position: convert do-while to while · 3ca2bb39
      If we enter the sha1_position() function with "lo == hi",
      we have no elements. But the do-while loop means that we'll
      enter the loop body once anyway, picking "mi" at that same
      value and comparing nonsense to our desired key. This is
      unlikely to match in practice, but we still shouldn't be
      looking at the memory in the first place.
      
      This bug is inherited from git.git; it was fixed there in
      e01580cfe01526ec2c4eb4899f776a82ade7e0e1.
      Jeff King committed
  2. 29 Dec, 2016 1 commit
  3. 04 Sep, 2013 1 commit
  4. 14 Aug, 2013 4 commits
  5. 08 Jan, 2013 1 commit
  6. 20 Mar, 2012 1 commit
  7. 13 Feb, 2012 1 commit
  8. 19 Sep, 2011 1 commit
    • Tabify everything · 87d9869f
      There were quite a few places were spaces were being used instead of
      tabs. Try to catch them all. This should hopefully not break anything.
      Except for `git blame`. Oh well.
      Vicent Marti committed
  9. 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
  10. 03 Jun, 2011 1 commit
  11. 01 Jun, 2011 1 commit
    • Added git.git sha1 lookup method to replace simple binary search in pack backend. · dd453c4d
      Implemented find_unique_short_oid for pack backend, based on git sha1 lookup method;
      finding an object given its full oid is just a particular case of searching
      the unique object matching an oid prefix (short oid).
      
      Added git_odb_read_unique_short_oid, which iterates over all the backends to
      find and read the unique object matching the given oid prefix.
      
      Added a git_object_lookup_short_oid method to find the unique object in
      the repository matching a given oid prefix : it generalizes git_object_lookup
      which now does nothing but calls git_object_lookup_short_oid.
      Marc Pegon committed