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/rebase | |
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/rebase')
-rw-r--r-- | tests/rebase/merge.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rebase/merge.c b/tests/rebase/merge.c index e7eb16713..06177717c 100644 --- a/tests/rebase/merge.c +++ b/tests/rebase/merge.c @@ -416,9 +416,9 @@ static void test_copy_note( branch_ref, GIT_OBJ_COMMIT)); /* Add a note to a commit */ - cl_git_pass(git_note_create(¬e_id, repo, + cl_git_pass(git_note_create(¬e_id, repo, "refs/notes/test", git_commit_author(branch_commit), git_commit_committer(branch_commit), - "refs/notes/test", git_commit_id(branch_commit), + git_commit_id(branch_commit), "This is a commit note.", 0)); cl_git_pass(git_rebase_init(&rebase, repo, branch_head, upstream_head, NULL, signature, opts)); |