libgit2

git_commit_time

Version:

Get the commit time (i.e. committer time) of a commit.

Signature

git_time_t git_commit_time(git_commit *commit);

Parameters

In
commit

a previously loaded commit.

Returns

the time of a commit

Versions