summaryrefslogtreecommitdiff
path: root/src/sha1_lookup.c
Commit message (Collapse)AuthorAgeFilesLines
* Convert indexer, notes, sha1_lookup, and signatureRussell Belfer2012-03-191-1/+2
| | | | More files moved to new error handling style.
* Update Copyright headerschu2012-02-131-1/+1
| | | | Signed-off-by: schu <schu-github@schulog.org>
* Tabify everythingVicent Marti2011-09-191-34/+34
| | | | | | 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.
* Cleanup legal dataVicent Marti2011-09-191-22/+3
| | | | | | | | | | 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.
* Sha1Lookup: Fixed two MSVC compilation warnings.unknown2011-06-031-2/+2
|
* Added git.git sha1 lookup method to replace simple binary search in pack ↵Marc Pegon2011-06-011-0/+196
backend. 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.