[ Web Proxy ]
URL:
Viewing: https://libgit2.org/docs/reference/v1.8.2/commit/git_commit_author_with_mailmap.html [Back]  [Original]

git_commit_author_with_mailmap (libgit2 v1.8.2)
libgit2 [libgit2]

git_commit_author_with_mailmap

Version: main v1.8.4 v1.8.3 v1.8.2 v1.8.2-rc1 v1.8.1 v1.8.0 v1.7.2 v1.7.1 v1.7.0 v1.6.5 v1.6.4 v1.6.3 v1.6.2 v1.6.1 v1.5.2 v1.5.1 v1.5.0 v1.4.6 v1.4.5 v1.4.4 v1.4.3 v1.4.2 v1.4.1 v1.4.0 v1.3.2 v1.3.1 v1.3.0 v1.2.0 v1.1.1 v1.1.0 v1.0.1 v1.0.0 v0.99.0 v0.28.5 v0.28.4 v0.28.3 v0.28.2 v0.28.1 v0.28.0 v0.28.0-rc1

Get the author 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_author_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

This open sourced site is hosted on GitHub. Patches, suggestions, and comments are welcome.

Web Proxy Viewer  |  New URL  |  Original Page