libgit2

git_annotated_commit_id

Version:

Gets the commit ID that the given git_annotated_commit refers to.

Signature

const git_oid *git_annotated_commit_id(const git_annotated_commit *commit);

Parameters

In
commit

the given annotated commit

Returns

commit id

Versions