summaryrefslogtreecommitdiff
path: root/tests/rebase/merge.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rebase/merge.c')
-rw-r--r--tests/rebase/merge.c4
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(&note_id, repo,
+ cl_git_pass(git_note_create(&note_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));