pointer to store the commit (optional); null in case of error
a point to the id of a note blob (optional)
repository where the note will live
Pointer to parent note or null if this shall start a new notes tree
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
Add a note for an object from a commit
This function will create a notes commit for a given object, the commit is a dangling commit, no reference is created.