diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2014-12-06 03:12:04 +0100 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2014-12-06 04:20:09 +0100 |
commit | 21083a712933248ecc71a09abd20d548b912b194 (patch) | |
tree | e98f76fd0ba19f655d416cde7c59662cc14a1044 /tests/notes/notesref.c | |
parent | d43c7bd050cd461b13f4b5aa30f14010c5b2b611 (diff) | |
download | libgit2-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.c | 2 |
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(¬e_oid, _repo, _sig, _sig, NULL, &oid, "test123test\n", 0)); + cl_git_pass(git_note_create(¬e_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)); |