libgit2

git_mailmap_resolve_signature

Version:

Resolve a signature to use real names and emails with a mailmap.

Call git_signature_free() to free the data.

Signature

int git_mailmap_resolve_signature(git_signature **out, const git_mailmap *mm, const git_signature *sig);

Parameters

In
out

new signature

In
mm

mailmap to resolve with

In
sig

signature to resolve

Returns

int

0 or an error code

Versions