summaryrefslogtreecommitdiff
path: root/src/notes.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 /src/notes.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 'src/notes.c')
-rw-r--r--src/notes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/notes.c b/src/notes.c
index 4b15925fd..8fdf388ab 100644
--- a/src/notes.c
+++ b/src/notes.c
@@ -455,9 +455,9 @@ int git_note_read(git_note **out, git_repository *repo,
int git_note_create(
git_oid *out,
git_repository *repo,
+ const char *notes_ref,
const git_signature *author,
const git_signature *committer,
- const char *notes_ref,
const git_oid *oid,
const char *note,
int allow_note_overwrite)