diff options
author | Vicent Martà <vicent@github.com> | 2013-01-03 07:43:27 -0800 |
---|---|---|
committer | Vicent Martà <vicent@github.com> | 2013-01-03 07:43:27 -0800 |
commit | 07871d3adcfdaba7ad5f99f89299258d1dbd92f9 (patch) | |
tree | 28a3e2c1c51ec11a4703a58d41165c437d343fe1 /tests-clar/notes/notesref.c | |
parent | 0db4cd04ef263d473219152df996b1cb2c4f52aa (diff) | |
parent | 8716b499e246496171aa8e9b84563b9486d66033 (diff) | |
download | libgit2-07871d3adcfdaba7ad5f99f89299258d1dbd92f9.tar.gz |
Merge pull request #1181 from nvloff/allow_note_overwrite
Allow note overwrite
Diffstat (limited to 'tests-clar/notes/notesref.c')
-rw-r--r-- | tests-clar/notes/notesref.c | 2 |
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(¬e_oid, _repo, _sig, _sig, NULL, &oid, "test123test\n")); + cl_git_pass(git_note_create(¬e_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")); |