git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH v2 0/3] use mailmap by default in git log

From
Ariadne Conill <ariadne@dereferenced.org>
Date
Jul 11, 2019, 17:26 UTC
Message-ID
<20190711172626.16480-1-ariadne@dereferenced.org>

It is not uncommon for people to change their name or e-mail address. To facilitate this, Git provides support for the `.mailmap` file, which contains a list of identities and previously used e-mail addresses that are associated with that identity.

Unfortunately, while Git's support for the `.mailmap` file is generally excellent, I recently discovered that `git log` does not treat the mail map file the same as the other tools, instead requiring an explicit flag to use the mailmap file.

I believe this is an unfortunate flaw, as the mailmap file should ideally contain the most current known contact information for a contributor, allowing anyone to contact the contributor about their patches in the future.

New in version 2:
- The `--no-use-mailmap` option, which complements `--use-mailmap`.
- Tests for `--no-use-mailmap`.
Ariadne Conill (3):
  log: use mailmap by default
  log: add --no-use-mailmap option to complement --use-mailmap option
  tests: add test for git log --no-use-mailmap
 Documentation/git-log.txt | 5 +++++
 builtin/log.c             | 3 ++-
 t/t4203-mailmap.sh        | 8 ++++++++
 3 files changed, 15 insertions(+), 1 deletion(-)
-- 
2.17.1
Next: Ariadne Conill
Message 1 of 9 in “use mailmap by default in git log”
  1. 0/3 use mailmap by default in git logAriadne Conill, Jul 11, 2019
  2. 1/3 log: use mailmap by defaultAriadne Conill, Jul 11, 2019
  3. 2/3 log: add --no-use-mailmap option to complement --use-mailmap optionAriadne Conill, Jul 11, 2019
  4. Beat BolliJul 11, 2019
  5. Ariadne ConillJul 11, 2019
  6. Beat BolliJul 11, 2019
  7. 3/3 tests: add test for git log --no-use-mailmapAriadne Conill, Jul 11, 2019
  8. Beat BolliJul 11, 2019
  9. Ariadne ConillJul 11, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.