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

Re: [BUG] git format-patch incorrectly follows the mailmap when used with --cover-letter

From
Taylor Blau <me@ttaylorr.com>
Date
Nov 3, 2022, 00:09 UTC
Message-ID
<Y2MGyM3O7ljEZ4Hm@nand.local>
In-Reply-To
<cb90779b-edb0-1911-c8bd-a6c56203a201@amyspark.me>
On Wed, Nov 02, 2022 at 08:54:32PM -0300, L. E. Segovia wrote:
Show 9 quoted lines
> What did you expect to happen? (Expected behavior)
>
> The cover letter should have tallied my commits and associate them with
> the current repository's user.name value.
>
> What happened instead? (Actual behavior)
>
> The cover letter follows my active mailmap and applies it when tallying
> the commits. There is no way to tell it not to.

Are you referring to the shortlog in the cover letter, the patches themselves, or both?

As you note, there is no '--[no-]mailmap' option in format-patch, though implementing one should be relatively straightforward.

Thanks, Taylor

Previous: L. E. SegoviaNext: L. E. Segovia
Message 2 of 4 in “[BUG] git format-patch incorrectly follows the mailmap when used with --cover-letter”
  1. L. E. SegoviaNov 2, 2022
  2. Taylor BlauNov 3, 2022
  3. L. E. SegoviaNov 3, 2022
  4. Taylor BlauNov 3, 2022

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.