libgit2

git_commit_set_author

Version:

Set the author of a commit

Signature

void git_commit_set_author(git_commit *commit, const git_signature *author_sig);

Parameters

In
commit

the commit object

In
author_sig

signature of the author

Versions