Re: [BUG] git format-patch incorrectly follows the mailmap when used with --cover-letter
- From
- L. 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