From dbc4ac1c76827e954e0aa27afe8bb7e0b8993a93 Mon Sep 17 00:00:00 2001 From: Edward Thomson Date: Sat, 22 Jan 2022 23:10:03 -0500 Subject: oid: `GIT_OID_*SZ` is now `GIT_OID_SHA1_*SIZE` In preparation for SHA256 support, `GIT_OID_RAWSZ` and `GIT_OID_HEXSZ` need to indicate that they're the size of _SHA1_ OIDs. --- tests/libgit2/diff/parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/libgit2/diff/parse.c') diff --git a/tests/libgit2/diff/parse.c b/tests/libgit2/diff/parse.c index 9c3f798e4..cae843cc8 100644 --- a/tests/libgit2/diff/parse.c +++ b/tests/libgit2/diff/parse.c @@ -151,7 +151,7 @@ static void test_tree_to_tree_computed_to_parsed( repo = cl_git_sandbox_init(sandbox); - opts.id_abbrev = GIT_OID_HEXSZ; + opts.id_abbrev = GIT_OID_SHA1_HEXSIZE; opts.flags = GIT_DIFF_SHOW_BINARY | diff_flags; findopts.flags = find_flags; -- cgit v1.2.1