summaryrefslogtreecommitdiff
path: root/include/git2/notes.h
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 /include/git2/notes.h
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 'include/git2/notes.h')
-rw-r--r--include/git2/notes.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/git2/notes.h b/include/git2/notes.h
index 1a7794a5c..65ce5480b 100644
--- a/include/git2/notes.h
+++ b/include/git2/notes.h
@@ -135,10 +135,10 @@ GIT_EXTERN(const git_oid *) git_note_id(const git_note *note);
*
* @param out pointer to store the OID (optional); NULL in case of error
* @param repo repository where to store the note
- * @param author signature of the notes commit author
- * @param committer signature of the notes commit committer
* @param notes_ref canonical name of the reference to use (optional);
* defaults to "refs/notes/commits"
+ * @param author signature of the notes commit author
+ * @param committer signature of the notes commit committer
* @param oid OID of the git object to decorate
* @param note Content of the note to add for object oid
* @param force Overwrite existing note
@@ -148,9 +148,9 @@ GIT_EXTERN(const git_oid *) git_note_id(const git_note *note);
GIT_EXTERN(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 force);