Add a note for an object
pointer to store the OID (optional); NULL in case of error
repository where to store the note
canonical name of the reference to use (optional); defaults to "refs/notes/commits"
signature of the notes commit author
signature of the notes commit committer
OID of the git object to decorate
Content of the note to add for object oid
Overwrite existing note
0 or an error code