summaryrefslogtreecommitdiff
path: root/tests/libgit2/odb
Commit message (Collapse)AuthorAgeFilesLines
* sha256: wrap_odb supports SHA256Edward Thomson2023-05-062-2/+2
|
* odb: test object lookups from git_repository_wrap_odbEdward Thomson2023-05-061-1/+20
|
* odb: restore `git_odb_open`Edward Thomson2023-03-011-0/+34
| | | | | `git_odb_open` was erroneously removed during a refactoring; add it back.
* odb: test git_odb_backend_looseEdward Thomson2023-02-271-0/+43
|
* odb: test sha256 pack backendEdward Thomson2023-02-122-0/+252
|
* packfile: handle sha256 packfilesEdward Thomson2023-02-125-3/+122
| | | | Teach the packfile machinery to cope with SHA256.
* odb: rename test file to avoid underscoreEdward Thomson2023-02-121-4/+4
| | | | | In clar, an underscore is meaningful; avoid using it incorrectly / unnecessarily.
* tests: skip sha256 tests when not compiled inEdward Thomson2022-09-191-4/+12
| | | | | Actually `cl_skip` the sha256 tests when we're not compiled for sha256, instead of passing them.
* sha256: indirection for experimental functionsEdward Thomson2022-07-1317-83/+85
| | | | | The experimental function signature is only available when `GIT_EXPERIMENTAL_SHA256` is enabled.
* sha256: make sha256 an experimental optional featureEdward Thomson2022-06-202-0/+30
| | | | | | | | | | 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-202-24/+448
| | | | Teach the loose object database how to cope with SHA256 objects.
* odb: add git_odb_loose_backend_optionsEdward Thomson2022-06-202-3/+15
| | | | Move the arguments to `git_odb_loose` into an options structure.
* odb: add git_odb_optionsEdward Thomson2022-06-208-14/+14
| | | | | Users will need to be able to specify the object id type for the given object database; add a new `git_odb_options` with that option.
* oid: give oids a typeEdward Thomson2022-06-2014-61/+61
| | | | | `git_oid`s now have a type, and we require the oid type when creating the object id from creation functions.
* oid: define GIT_OID_SHA1_ZEROEdward Thomson2022-06-142-3/+3
| | | | | 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-142-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: `tests` is now `tests/libgit2`Edward Thomson2022-02-2222-0/+3209
Like we want to separate libgit2 and utility source code, we want to separate libgit2 and utility tests. Start by moving all the tests into libgit2.