diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2022-07-13 22:25:11 -0400 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2022-07-13 22:50:33 -0400 |
commit | b43567d655b6fbc562a165095a6980d19c4ae278 (patch) | |
tree | ee84020f9f2c9f53a1f11656e2cd1205502cda48 /tests/libgit2/diff/diff_helpers.c | |
parent | 433a133402fae298f8ee7613bcfd997c2712d269 (diff) | |
download | libgit2-b43567d655b6fbc562a165095a6980d19c4ae278.tar.gz |
sha256: indirection for experimental functions
The experimental function signature is only available when
`GIT_EXPERIMENTAL_SHA256` is enabled.
Diffstat (limited to 'tests/libgit2/diff/diff_helpers.c')
-rw-r--r-- | tests/libgit2/diff/diff_helpers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libgit2/diff/diff_helpers.c b/tests/libgit2/diff/diff_helpers.c index ae23c48b7..341b0a448 100644 --- a/tests/libgit2/diff/diff_helpers.c +++ b/tests/libgit2/diff/diff_helpers.c @@ -11,7 +11,7 @@ git_tree *resolve_commit_oid_to_tree( git_object *obj = NULL; git_tree *tree = NULL; - if (git_oid_fromstrn(&oid, partial_oid, len, GIT_OID_SHA1) == 0) + if (git_oid__fromstrn(&oid, partial_oid, len, GIT_OID_SHA1) == 0) cl_git_pass(git_object_lookup_prefix(&obj, repo, &oid, len, GIT_OBJECT_ANY)); cl_git_pass(git_object_peel((git_object **) &tree, obj, GIT_OBJECT_TREE)); |