summaryrefslogtreecommitdiff
path: root/include/git2
diff options
context:
space:
mode:
Diffstat (limited to 'include/git2')
-rw-r--r--include/git2/notes.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/git2/notes.h b/include/git2/notes.h
index ae66975cd..ddd54b039 100644
--- a/include/git2/notes.h
+++ b/include/git2/notes.h
@@ -76,6 +76,7 @@ GIT_EXTERN(const git_oid *) git_note_oid(const git_note *note);
* defaults to "refs/notes/commits"
* @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
*
* @return 0 or an error code
*/
@@ -86,7 +87,8 @@ GIT_EXTERN(int) git_note_create(
const git_signature *committer,
const char *notes_ref,
const git_oid *oid,
- const char *note);
+ const char *note,
+ int force);
/**