libgit2

git_commit_owner

Version:

Get the repository that contains the commit.

Signature

git_repository *git_commit_owner(const git_commit *commit);

Parameters

In
commit

A previously loaded commit.

Returns

Repository that contains this commit.

Versions