summaryrefslogtreecommitdiff
path: root/src/libgit2/odb_pack.c
Commit message (Collapse)AuthorAgeFilesLines
* object: lookup sha256 objectsEdward Thomson2023-02-121-4/+14
| | | | | This is much of the plumbing for the object database to support SHA256, and for objects to be able to parse SHA256 versions of themselves.
* packfile: handle sha256 packfilesEdward Thomson2023-02-121-39/+81
| | | | Teach the packfile machinery to cope with SHA256.
* oid: define GIT_OID_SHA1_ZEROEdward Thomson2022-06-141-1/+1
| | | | | Callers should not assume the layout of the oid structure; provide them a macro that defines the null / zero sha1 object id.
* oid: `GIT_OID_*SZ` is now `GIT_OID_SHA1_*SIZE`Edward Thomson2022-06-141-6/+6
| | | | | In preparation for SHA256 support, `GIT_OID_RAWSZ` and `GIT_OID_HEXSZ` need to indicate that they're the size of _SHA1_ OIDs.
* refactor: `src` is now `src/libgit2`Edward Thomson2022-02-221-0/+921