summaryrefslogtreecommitdiff
path: root/src/libgit2/diff_generate.c
Commit message (Collapse)AuthorAgeFilesLines
* odb_hash*: accept the oid type to hash intoEdward Thomson2022-06-201-2/+3
| | | | | 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-4/+8
| | | | | `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-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: `src` is now `src/libgit2`Edward Thomson2022-02-221-0/+1724