Re: [PATCH] mailmap: change primary address for Emily Shaffer

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

 



emilyshaffer@xxxxxxxxxx writes:

> From:   emilyshaffer@xxxxxxxxxx
> Subject: [PATCH] mailmap: change primary address for Emily Shaffer
>
> Emily finally figured out how to set up their alias at DayJob, and would
> prefer to use nasamuffin@xxxxxxxxxx, partially to reduce confusion
> between IRC and list, and partially because they just like the alias a
> lot more.
>
> Signed-off-by: Emily Shaffer <nasamuffin@xxxxxxxxxx>
> ---
>  .mailmap | 1 +
>  1 file changed, 1 insertion(+)

Cute.  By telling the machinery to map "<emilyshaffer@xxxxxxxxxx>"
(with any name) to "Emily Shaffer <nasamuffin@xxxxxxxxxx>", and
using a nameless <emilyshaffer@xxxxxxxxxx> as the sender for the
mail to add such a mailmap entry, the result of applying such a
patch, even though the underlying commit object created lacks the
human-readable name, like so:

    $ git cat-file commit HEAD
    tree cec72ed0d4fb9faa44cd8d23008f90da3239808b
    parent 0607f793cbe0af16aee6d2480056d891835884bd
    author emilyshaffer@xxxxxxxxxx <emilyshaffer@xxxxxxxxxx> 1680902569 -0700
    committer Junio C Hamano <gitster@xxxxxxxxx> 1680902794 -0700

    mailmap: change primary address for Emily Shaffer
    ...

would show with a substituted author:

    $ git show HEAD
    commit 2485a52e4b4419020286e98dd04c0e5ebb218f06
    Author: Emily Shaffer <nasamuffin@xxxxxxxxxx>
    Date:   Fri Apr 7 14:22:49 2023 -0700

        mailmap: change primary address for Emily Shaffer
        ...    

I'll amend the commit to record the nasammuffin name instead,
though.





[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