Skip to main content

Module mailmap

Module mailmap 

Source
Expand description

Parse .mailmap and resolve author/committer identities (Git-compatible).

Structs§

MailmapEntry
One line from a .mailmap file after parsing.

Functions§

load_mailmap
Parsed mailmap for the repository (default .mailmap + config).
load_mailmap_raw
Load and concatenate all configured mailmap sources for a repository.
map_contact
Map (name, email) through the mailmap; last matching rule wins (Git order).
parse_contact
Parse a contact string Name <email> or <email>.
parse_mailmap
Parse a .mailmap file body into entries (comments and blanks skipped).
read_mailmap_blob
Read mailmap text from a blob revision (for mailmap.blob / CLI --mailmap-blob).
render_contact
Format a contact for display (check-mailmap style).