libgit2

git_submodule_branch

Version:

Get the branch for the submodule.

Signature

const char *git_submodule_branch(git_submodule *submodule);

Parameters

In
submodule

Pointer to submodule object

Returns

const char *

Pointer to the submodule branch

Versions