summaryrefslogtreecommitdiff
path: root/tests/libgit2/object/raw
Commit message (Collapse)AuthorAgeFilesLines
* sha256: indirection for experimental functionsEdward Thomson2022-07-137-42/+42
| | | | | The experimental function signature is only available when `GIT_EXPERIMENTAL_SHA256` is enabled.
* odb: add git_odb_optionsEdward Thomson2022-06-201-1/+1
| | | | | 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.
* odb_hash*: accept the oid type to hash intoEdward Thomson2022-06-201-2/+2
| | | | | The git_odb_hash helper functions should not assume SHA1, and instead should be given the oid type that they're producing.
* oid: add sha256 typed oidsEdward Thomson2022-06-201-1/+1
|
* oid: give oids a typeEdward Thomson2022-06-207-45/+46
| | | | | `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-144-33/+33
| | | | | In preparation for SHA256 support, `GIT_OID_RAWSZ` and `GIT_OID_HEXSZ` need to indicate that they're the size of _SHA1_ OIDs.
* tests: don't cast raw data to a `git_oid``Edward Thomson2022-04-102-4/+12
| | | | Create an object id from raw data instead of casting.
* refactor: `tests` is now `tests/libgit2`Edward Thomson2022-02-2210-0/+1464
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.