Method

GgitMailmapresolve

Declaration [src]

void
ggit_mailmap_resolve (
  GgitMailmap* mailmap,
  const gchar** real_name,
  const gchar** real_email,
  const gchar* replace_name,
  const gchar* replace_email,
  GError** error
)

Description [src]

Resolves replace_name and replace_email to real_name and real_email. If mailmap is NULL, no substitution is performed.

Parameters

real_name const gchar**
 

The real name of the person.

 The argument will be set by the function.
 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
real_email const gchar**
 

The real email of the person.

 The argument will be set by the function.
 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
replace_name const gchar*
 

The name to replace.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
replace_email const gchar*
 

The email to replace.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
error GError **
  The return location for a GError*, or NULL.