mirror of
https://git.proxmox.com/git/libgit2
synced 2025-11-30 23:09:50 +00:00
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. |
||
|---|---|---|
| .. | ||
| blob.h | ||
| commit.h | ||
| common.h | ||
| config.h | ||
| errors.h | ||
| index.h | ||
| object.h | ||
| odb_backend.h | ||
| odb.h | ||
| oid.h | ||
| refs.h | ||
| repository.h | ||
| revwalk.h | ||
| signature.h | ||
| tag.h | ||
| thread-utils.h | ||
| tree.h | ||
| types.h | ||
| zlib.h | ||