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
LSL. E. Segovia <amy@amyspark.me>
Date
Nov 3, 2022, 00:21 UTC
Message-ID
<527f8050-7955-50b1-304c-617703cf99e6@amyspark.me>
In-Reply-To
<Y2MGyM3O7ljEZ4Hm@nand.local>
Hey,

The shortlog in the cover letter follows the active mailmap (incorrectly). The letter itself (From: header), as well as the patches, are attributed correctly.

Best,
amyspark
On 02/11/2022 21:09, Taylor Blau wrote:
Show 19 quoted lines
> On Wed, Nov 02, 2022 at 08:54:32PM -0300, L. E. Segovia wrote:
>> 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
-- 
amyspark 🌸 https://www.amyspark.me
Previous: Taylor BlauNext: Taylor Blau
Message 3 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.