diff options
author | Vicent Martà <vicent@github.com> | 2013-01-03 07:43:27 -0800 |
---|---|---|
committer | Vicent Martà <vicent@github.com> | 2013-01-03 07:43:27 -0800 |
commit | 07871d3adcfdaba7ad5f99f89299258d1dbd92f9 (patch) | |
tree | 28a3e2c1c51ec11a4703a58d41165c437d343fe1 /include/git2/notes.h | |
parent | 0db4cd04ef263d473219152df996b1cb2c4f52aa (diff) | |
parent | 8716b499e246496171aa8e9b84563b9486d66033 (diff) | |
download | libgit2-07871d3adcfdaba7ad5f99f89299258d1dbd92f9.tar.gz |
Merge pull request #1181 from nvloff/allow_note_overwrite
Allow note overwrite
Diffstat (limited to 'include/git2/notes.h')
-rw-r--r-- | include/git2/notes.h | 4 |
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); /** |