libgit2

git_patch_owner

Version:

Get the repository associated with this patch. May be NULL.

Signature

git_repository *git_patch_owner(const git_patch *patch);

Parameters

In
patch

the patch

Returns

a pointer to the repository

Versions