summaryrefslogtreecommitdiff
path: root/src/libgit2/pack.c
Commit message (Collapse)AuthorAgeFilesLines
* sha256: indirection for experimental functionsEdward Thomson2022-07-131-5/+5
| | | | | The experimental function signature is only available when `GIT_EXPERIMENTAL_SHA256` is enabled.
* oid: give oids a typeEdward Thomson2022-06-201-7/+7
| | | | | `git_oid`s now have a type, and we require the oid type when creating the object id from creation functions.
* oid: `GIT_OID_*SZ` is now `GIT_OID_SHA1_*SIZE`Edward Thomson2022-06-141-8/+8
| | | | | In preparation for SHA256 support, `GIT_OID_RAWSZ` and `GIT_OID_HEXSZ` need to indicate that they're the size of _SHA1_ OIDs.
* pack: use raw oid dataEdward Thomson2022-04-101-17/+23
| | | | | A packfile contains arrays of raw oid data, use a byte array to index into them.
* oid: `hashcmp` is now `raw_cmp`Edward Thomson2022-04-101-1/+1
| | | | | We will talk about "raw" oids as untyped blobs of data; use a name for the comparison function that is in keeping with that.
* refactor: `src` is now `src/libgit2`Edward Thomson2022-02-221-0/+1629