summaryrefslogtreecommitdiff
path: root/tests/libgit2/iterator
Commit message (Collapse)AuthorAgeFilesLines
* sha256: indirection for experimental functionsEdward Thomson2022-07-133-9/+9
| | | | | The experimental function signature is only available when `GIT_EXPERIMENTAL_SHA256` is enabled.
* oid: give oids a typeEdward Thomson2022-06-203-9/+9
| | | | | `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-141-1/+1
| | | | | Callers should not assume the layout of the oid structure; provide them a macro that defines the null / zero sha1 object id.
* tree: move git_oid into tree entryEdward Thomson2022-04-101-1/+1
| | | | | | | | | | | | A tree entry previously pointed directly into the object id within the tree object itself; this is useful to avoid any unnecessary memory copy (and an unnecessary use of 40 bytes per tree entry) but difficult if we change the underlying `git_oid` object to not simply be a raw object id but have additional structure. This commit moves the `git_oid` directly into the tree entry; this simplifies the tree entry creation from user data. We now copy the `git_oid` into place when parsing.
* refactor: `tests` is now `tests/libgit2`Edward Thomson2022-02-225-0/+4147
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.