libgit2

git_note_default_ref

Version:

Get the default notes reference for a repository

Signature

int git_note_default_ref(git_buf *out, git_repository *repo);

Parameters

In
out

buffer in which to store the name of the default notes reference

In
repo

The Git repository

Returns

int

0 or an error code

Versions