summaryrefslogtreecommitdiff
path: root/tests/notes/notesref.c
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2014-12-06 03:12:04 +0100
committerCarlos Martín Nieto <cmn@dwim.me>2014-12-06 04:20:09 +0100
commit21083a712933248ecc71a09abd20d548b912b194 (patch)
treee98f76fd0ba19f655d416cde7c59662cc14a1044 /tests/notes/notesref.c
parentd43c7bd050cd461b13f4b5aa30f14010c5b2b611 (diff)
downloadlibgit2-21083a712933248ecc71a09abd20d548b912b194.tar.gz
notes: move the notes name argument
Make it consistent between git_note_create() and git_note_remote() by putting it after the repository.
Diffstat (limited to 'tests/notes/notesref.c')
-rw-r--r--tests/notes/notesref.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/notes/notesref.c b/tests/notes/notesref.c
index a59af209c..11391e448 100644
--- a/tests/notes/notesref.c
+++ b/tests/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", 0));
+ cl_git_pass(git_note_create(&note_oid, _repo, NULL, _sig, _sig, &oid, "test123test\n", 0));
cl_git_pass(git_note_read(&_note, _repo, NULL, &oid));
cl_assert_equal_s("test123test\n", git_note_message(_note));