git_note_commit_remove

Remove the note for an object

Parameters

notes_commit_out libgit2_d.oid.git_oid*

pointer to store the new notes commit (optional); null in case of error. When removing a note a new tree containing all notes sans the note to be removed is created and a new commit pointing to that tree is also created. In the case where the resulting tree is an empty tree a new commit pointing to this empty tree will be returned.

repo libgit2_d.types.git_repository*

repository where the note lives

notes_commit libgit2_d.types.git_commit*

a pointer to the notes commit object

author const(libgit2_d.types.git_signature)*

signature of the notes commit author

committer const(libgit2_d.types.git_signature)*

signature of the notes commit committer

oid const(libgit2_d.oid.git_oid)*

OID of the git object to remove the note from

Return Value

Type: int

0 or an error code

Meta