libgit2

git_commit_id

Version:

Get the id of a commit.

Signature

const git_oid *git_commit_id(git_commit *commit);

Parameters

In
commit

a previously loaded commit.

Returns

object identity for the commit.

Versions