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

[PATCH v3 0/2] add git-check-mailmap command

From
Eric Sunshine <sunshine@sunshineco.com>
Date
Jul 13, 2013, 00:53 UTC
Message-ID
<1373676791-42758-1-git-send-email-sunshine@sunshineco.com>

This is a re-roll of v2 [1] which introduces git-check-mailmap. The primary motivation for this command is to expose git's stable, well-tested C-implementation of .mailmap functionality to scripts and porcelains, thus relieving them of the need to re-implement support themselves. The git-contacts [2] script (currently at es/contacts in 'pu') would be one such client.

v3 addresses comments from reviewers [1].
Changes since v2:
* Drop -z/--null option.
* Simplify grammar of DESCRIPTION and OUTPUT sections of
  Documentation/git-check-mailmap.txt.
* Normalize wrapped code indentation to match standard Git style.
* Drop v2 patches [3/4] and [4/4] which convert t4203-mailmap.sh to test
  low-level mailmap functionality directly via git-check-mailmap rather
  than indirectly via git-shortlog.

[1]: http://thread.gmane.org/gmane.comp.version-control.git/230105/ [2]: http://thread.gmane.org/gmane.comp.version-control.git/229533/

Eric Sunshine (2):
  builtin: add git-check-mailmap command
  t4203: test check-mailmap command invocation
 .gitignore                             |  1 +
 Documentation/git-check-mailmap.txt    | 47 ++++++++++++++++++++++++
 Makefile                               |  1 +
 builtin.h                              |  1 +
 builtin/check-mailmap.c                | 66 ++++++++++++++++++++++++++++++++++
 command-list.txt                       |  1 +
 contrib/completion/git-completion.bash |  1 +
 git.c                                  |  1 +
 t/t4203-mailmap.sh                     | 43 ++++++++++++++++++++++
 9 files changed, 162 insertions(+)
 create mode 100644 Documentation/git-check-mailmap.txt
 create mode 100644 builtin/check-mailmap.c
-- 
1.8.3.2.804.g0da7a53
Next: Eric Sunshine
Message 1 of 3 in “add git-check-mailmap command”
  1. 0/2 add git-check-mailmap commandEric Sunshine, Jul 13, 2013
  2. 1/2 builtin: add git-check-mailmap commandEric Sunshine, Jul 13, 2013
  3. 2/2 t4203: test check-mailmap command invocationEric Sunshine, Jul 13, 2013

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.