libgit2

git_commit_committer_with_mailmap

Version:

Get the committer of a commit, using the mailmap to map names and email addresses to canonical real names and email addresses.

Call git_signature_free to free the signature.

Signature

int git_commit_committer_with_mailmap(git_signature **out, const git_commit *commit, const git_mailmap *mailmap);

Parameters

In
out

a pointer to store the resolved signature.

In
commit

a previously loaded commit.

In
mailmap

the mailmap to resolve with. (may be NULL)

Returns

int

0 or an error code

Versions