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

git_commit *
In
commit

the commit object

const git_signature *
In
author_sig

signature of the author

Versions