libgit2

git_commit_time

Version:

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

Signature

time_t git_commit_time(git_commit *commit);

Parameters

git_commit *
In
commit

a previously loaded commit.

Returns

time_t

the time of a commit

Versions