Method

GgitMailmapresolve_signature

Declaration [src]

GgitSignature*
ggit_mailmap_resolve_signature (
  GgitMailmap* mailmap,
  GgitSignature* signature,
  GError** error
)

Description [src]

Resolves signature to use the real name and email according to mailmap. If mailmap is NULL, no substitution is performed, but a new signature is still allocated and returned.

Parameters

signature GgitSignature
 

The commit signature as recorded.

 The data is owned by the caller of the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: GgitSignature
 

The corrected signature or NULL.

 The caller of the method takes ownership of the data, and is responsible for freeing it.
 The return value can be NULL.