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

[PATCH v2 0/7] Allow git log to use mailmap file

From
Antoine Pelisse <apelisse@gmail.com>
Date
Dec 15, 2012, 18:05 UTC
Message-ID
<1355594754-27589-1-git-send-email-apelisse@gmail.com>

Implement the feature suggested by Rich Mindwinter and Junio C Hamano (and following his advices)

Allows git show/log commands to map author and committer names and emails using the mailmap file.

Updates related to this second series:
  - All tests are successful after each patch
  - Use split_ident_line in shortlog.c
  - Documentation has been added to git-log.txt
  - Test has been added to check that we use the file
  - Lots of improvements in the way strbufs are used
  - New interface to map_user()
  - Bunch of other fixes

git glog --committer/--author is still not looking for mailmap user names.

Antoine Pelisse (7):
  Use split_ident_line to parse author and committer
  mailmap: Remove buffer length limit in map_user
  mailmap: Simplify map_user() interface
  mailmap: Add mailmap structure to rev_info and pp
  pretty: Use mailmap to display username and email
  log: Add --use-mailmap option
  test: Add test for --use-mailmap option
 Documentation/git-log.txt |    5 ++
 builtin/blame.c           |  189 +++++++++++++++++++++------------------------
 builtin/log.c             |    9 ++-
 builtin/shortlog.c        |   53 ++++---------
 commit.h                  |    1 +
 log-tree.c                |    1 +
 mailmap.c                 |   56 ++++++--------
 mailmap.h                 |    4 +-
 pretty.c                  |  111 ++++++++++++++------------
 revision.h                |    1 +
 t/t4203-mailmap.sh        |   14 ++++
 11 files changed, 219 insertions(+), 225 deletions(-)

-- 1.7.9.5

Next: Antoine Pelisse
Message 1 of 9 in “Allow git log to use mailmap file”
  1. 0/7 Allow git log to use mailmap fileAntoine Pelisse, Dec 15, 2012
  2. 1/7 Use split_ident_line to parse author and committerAntoine Pelisse, Dec 15, 2012
  3. 2/7 mailmap: Remove buffer length limit in map_userAntoine Pelisse, Dec 15, 2012
  4. 3/7 mailmap: Simplify map_user() interfaceAntoine Pelisse, Dec 15, 2012
  5. 4/7 mailmap: Add mailmap structure to rev_info and ppAntoine Pelisse, Dec 15, 2012
  6. 5/7 pretty: Use mailmap to display username and emailAntoine Pelisse, Dec 15, 2012
  7. 6/7 log: Add --use-mailmap optionAntoine Pelisse, Dec 15, 2012
  8. 7/7 test: Add test for --use-mailmap optionAntoine Pelisse, Dec 15, 2012
  9. Junio C HamanoDec 15, 2012

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.