git_mailmap_add_entry

Add a single entry to the given mailmap object. If the entry already exists, it will be replaced with the new entry.

extern (C) nothrow @nogc
int
git_mailmap_add_entry
(,
const(char)* real_name
,
const(char)* real_email
,
const(char)* replace_name
,
const(char)* replace_email
)

Parameters

mm libgit2_d.types.git_mailmap*

mailmap to add the entry to

real_name const(char)*

the real name to use, or NULL

real_email const(char)*

the real email to use, or NULL

replace_name const(char)*

the name to replace, or NULL

replace_email const(char)*

the email to replace

Return Value

Type: int

0 on success, or an error code

Meta