libgit2

git_note_remove

Version:

Remove the note for an object

Signature

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

Parameters

In
repo

the Git repository

const char *
In
notes_ref

OID 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

the oid which note's to be removed

Returns

int

0 or an error code

Versions