libgit2

git_commit_set_author

Version:

Set the author of a commit

Signature

void git_commit_set_author(git_commit *commit, const char *name, const char *email, time_t time);

Parameters

In
commit

the commit object

const char *
In
name

name of the new author

const char *
In
email

email of the new author

time_t
In
time

time when the author created the commit

Versions