summaryrefslogtreecommitdiff
path: root/tests-clar/notes/notesref.c
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2012-11-20 16:02:25 -0800
committerBen Straub <bs@github.com>2012-11-27 13:18:28 -0800
commit54b2a37ac7715c74e5b06b76eb2b631987d7b6f8 (patch)
treee2f7441735a506de16b411a3c181a76f264c2bab /tests-clar/notes/notesref.c
parenteecc80502975df5ef3aa9027d1b8b929cd6181bd (diff)
downloadlibgit2-54b2a37ac7715c74e5b06b76eb2b631987d7b6f8.tar.gz
Clean up config.h
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));