summaryrefslogtreecommitdiff
path: root/tests/libgit2/object/raw/hash.c
Commit message (Collapse)AuthorAgeFilesLines
* sha256: indirection for experimental functionsEdward Thomson2022-07-131-18/+18
| | | | | The experimental function signature is only available when `GIT_EXPERIMENTAL_SHA256` is enabled.
* 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: give oids a typeEdward Thomson2022-06-201-16/+18
| | | | | `git_oid`s now have a type, and we require the oid type when creating the object id from creation functions.
* tests: don't cast raw data to a `git_oid``Edward Thomson2022-04-101-3/+8
| | | | Create an object id from raw data instead of casting.
* refactor: `tests` is now `tests/libgit2`Edward Thomson2022-02-221-0/+169
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.