summaryrefslogtreecommitdiff
path: root/tests-clar/notes/notesref.c
diff options
context:
space:
mode:
authorNikolai Vladimirov <nikolay@vladimiroff.com>2013-01-03 16:31:36 +0200
committerNikolai Vladimirov <nikolay@vladimiroff.com>2013-01-03 16:31:36 +0200
commit8716b499e246496171aa8e9b84563b9486d66033 (patch)
treeab70ff46732e081e74b3eb16f65295c92f31c68f /tests-clar/notes/notesref.c
parent4a44087ae75a63ab0c10be215722a8a24f1187e7 (diff)
downloadlibgit2-8716b499e246496171aa8e9b84563b9486d66033.tar.gz
add option to allow git note overwrite
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 d26056f4b..633628c69 100644
--- a/tests-clar/notes/notesref.c
+++ b/tests-clar/notes/notesref.c
@@ -42,7 +42,7 @@ void test_notes_notesref__config_corenotesref(void)
cl_git_pass(git_config_set_string(_cfg, "core.notesRef", "refs/notes/mydefaultnotesref"));
- cl_git_pass(git_note_create(&note_oid, _repo, _sig, _sig, NULL, &oid, "test123test\n"));
+ cl_git_pass(git_note_create(&note_oid, _repo, _sig, _sig, NULL, &oid, "test123test\n", 0));
cl_git_pass(git_note_read(&_note, _repo, NULL, &oid));
cl_assert(!strcmp(git_note_message(_note), "test123test\n"));