libgit2

git_note_remove

Version:

Remove the note for an object

Signature

int git_note_remove(git_repository *repo, const char *notes_ref, const git_signature *author, const git_signature *committer, const git_oid *oid);

Parameters

In
repo

repository where the note lives

const char *
In
notes_ref

canonical name of the reference to use (optional); defaults to "refs/notes/commits"

In
author

signature of the notes commit author

In
committer

signature of the notes commit committer

In
oid

OID of the git object to remove the note from

Returns

int

0 or an error code

Versions