Method

GgitMailmapadd_entry

Declaration [src]

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

Description [src]

Adds a new entry to mailmap, replacing replace_name and replace_email with real_name and real_email respectively. If replace_name is NULL, it is ignored during matching. If either real_name or real_email is NULL, the respective field is not replaced.

Parameters

real_name const gchar*
 

The real name of the person.

 The argument can be NULL.
 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 can be NULL.
 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 argument can be NULL.
 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.