summaryrefslogtreecommitdiff
path: root/tests-clar/notes/notesref.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests-clar/notes/notesref.c')
-rw-r--r--tests-clar/notes/notesref.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests-clar/notes/notesref.c b/tests-clar/notes/notesref.c
index 67c4003c6..d26056f4b 100644
--- a/tests-clar/notes/notesref.c
+++ b/tests-clar/notes/notesref.c
@@ -57,7 +57,7 @@ void test_notes_notesref__config_corenotesref(void)
cl_git_pass(git_note_default_ref(&default_ref, _repo));
cl_assert(!strcmp(default_ref, "refs/notes/mydefaultnotesref"));
- cl_git_pass(git_config_delete(_cfg, "core.notesRef"));
+ cl_git_pass(git_config_delete_entry(_cfg, "core.notesRef"));
cl_git_pass(git_note_default_ref(&default_ref, _repo));
cl_assert(!strcmp(default_ref, GIT_NOTES_DEFAULT_REF));