libgit2

git_note_default_ref

Version:

Get the default notes reference for a repository

Signature

int git_note_default_ref(const char **out, git_repository *repo);

Parameters

const char **
In
out

Pointer to the default notes reference

In
repo

The Git repository

Returns

int

0 or an error code

Versions