summaryrefslogtreecommitdiff
path: root/src/libgit2/odb_loose.c
Commit message (Collapse)AuthorAgeFilesLines
* sha256: indirection for experimental functionsEdward Thomson2022-07-131-2/+2
| | | | | The experimental function signature is only available when `GIT_EXPERIMENTAL_SHA256` is enabled.
* sha256: make sha256 an experimental optional featureEdward Thomson2022-06-201-0/+2
| | | | | | | | | | libgit2 can be built with optional, experimental sha256 support. This allows consumers to begin testing and providing feedback for our sha256 support while we continue to develop it, and allows us to make API breaking changes while we iterate on a final sha256 implementation. The results will be `git2-experimental.dll` and installed as `git2-experimental.h` to avoid confusion with a production libgit2.
* odb_loose: SHA256 support for loose object storageEdward Thomson2022-06-201-44/+57
| | | | Teach the loose object database how to cope with SHA256 objects.
* odb: add git_odb_loose_backend_optionsEdward Thomson2022-06-201-26/+33
| | | | Move the arguments to `git_odb_loose` into an options structure.
* oid: give oids a typeEdward Thomson2022-06-201-1/+3
| | | | | `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-15/+15
| | | | | 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/+1182