libgit2

git_mailmap_new

Version:

Allocate a new mailmap object.

This object is empty, so you'll have to add a mailmap file before you can do anything with it. The mailmap must be freed with 'git_mailmap_free'.

Signature

int git_mailmap_new(git_mailmap **out);

Parameters

In
out

pointer to store the new mailmap

Returns

int

0 on success, or an error code

Versions