summaryrefslogtreecommitdiff
path: root/tests/libgit2/notes/notesref.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libgit2/notes/notesref.c')
-rw-r--r--tests/libgit2/notes/notesref.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libgit2/notes/notesref.c b/tests/libgit2/notes/notesref.c
index 6ba324c76..a3de73405 100644
--- a/tests/libgit2/notes/notesref.c
+++ b/tests/libgit2/notes/notesref.c
@@ -36,7 +36,7 @@ void test_notes_notesref__config_corenotesref(void)
git_buf default_ref = GIT_BUF_INIT;
cl_git_pass(git_signature_now(&_sig, "alice", "alice@example.com"));
- cl_git_pass(git_oid_fromstr(&oid, "8496071c1b46c854b31185ea97743be6a8774479"));
+ cl_git_pass(git_oid_fromstr(&oid, "8496071c1b46c854b31185ea97743be6a8774479", GIT_OID_SHA1));
cl_git_pass(git_repository_config(&_cfg, _repo));