diff options
| author | Nikolai Vladimirov <nikolay@vladimiroff.com> | 2013-01-03 16:31:36 +0200 |
|---|---|---|
| committer | Vicent Marti <tanoku@gmail.com> | 2013-01-04 17:47:51 +0100 |
| commit | b60b4562feac6c17dde9159c437e6e5a908d628e (patch) | |
| tree | a2456424e9f0b1c888ca8c22b11475a42a2e200e /include/git2 | |
| parent | 853488eed45f2f620fdfc4879827df02bc11553e (diff) | |
| download | libgit2-b60b4562feac6c17dde9159c437e6e5a908d628e.tar.gz | |
add option to allow git note overwrite
Diffstat (limited to 'include/git2')
| -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); /** |
