Re: [PATCH] format-patch: add support for mailmap file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2024.08.13 14:45, Jacob Keller wrote:
> From: Jacob Keller <jacob.keller@xxxxxxxxx>
> 
> Git has support for a mailmap file which translates author and committer
> names and email addresses to canonical values.
> 
> Git log has log.mailmap, and the associated --mailmap and --use-mailmap
> options.
> 
> Teach git format-patch the format.mailmap and --mailmap options so that
> formatting a patch can also reflect the canonical values from the
> mailmap file.
> 
> Reported-by: Anthony Nguyen <anthony.l.nguyen@xxxxxxxxx>
> Signed-off-by: Jacob Keller <jacob.keller@xxxxxxxxx>

I am not sure I understand the utility here; using mailmap at log time
makes sense because these are old, established commits that may have
outdated contact information. But when writing patches with
format-patch, presumably these are still somewhat WIP patches. Is it not
better to just reset the author information before running
git-format-patch in this case?

If I've misunderstood the use case, please let me know.




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux