libgit2

git_reference_owner

Version:

Get the repository where a reference resides

Signature

git_repository *git_reference_owner(git_reference *ref);

Parameters

In
ref

The reference

Returns

a pointer to the repo

Versions