Skip to contentSkip to conversation

mailmap: change primary address for Emily Shaffer

PATCH In review [email protected] 3 participants 3 messages Apr 7, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mailmap: change primary address for Emily Shaffer

Emily finally figured out how to set up their alias at DayJob, and would prefer to use [email protected], partially to reduce confusion between IRC and list, and partially because they just like the alias a lot more.

---
 .mailmap | 1 +
 1 file changed, 1 insertion(+)
.mailmap +1 -0
index 95aaa1c833..733e047aa8 100644
@@ -65,6 +65,7 @@ Derrick Stolee <[email protected]> <[email protected]>
 Deskin Miller <[email protected]>
 Đoàn Trần Công Danh <[email protected]> Doan Tran Cong Danh
 Dirk Süsserott <[email protected]>
+Emily Shaffer <[email protected]> <[email protected]>
 Eric Blake <[email protected]> <[email protected]>
 Eric Hanchrow <[email protected]> <[email protected]>
 Eric S. Raymond <[email protected]>
Signature · 1 line
2.40.0.577.gac1e443424-goog
#1 lore raw
Quoted 8 lines · [email protected] writes:

From: [email protected]
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 [email protected], partially to reduce confusion between IRC and list, and partially because they just like the alias a lot more.

Quoted 4 lines
---
 .mailmap | 1 +
 1 file changed, 1 insertion(+)

Cute. By telling the machinery to map "<[email protected]>" (with any name) to "Emily Shaffer <[email protected]>", and using a nameless <[email protected]> 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 [email protected] <[email protected]> 1680902569 -0700
    committer Junio C Hamano <[email protected]> 1680902794 -0700

mailmap: change primary address for Emily Shaffer
...

would show with a substituted author:

    $ git show HEAD
    commit 2485a52e4b4419020286e98dd04c0e5ebb218f06
    Author: Emily Shaffer <[email protected]>
    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.

#2 lore raw
Quoted 34 lines · Junio C Hamano
Quoted 8 lines · [email protected] writes:

From: [email protected]
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 [email protected], partially to reduce confusion between IRC and list, and partially because they just like the alias a lot more.

Quoted 4 lines
---
 .mailmap | 1 +
 1 file changed, 1 insertion(+)

Cute. By telling the machinery to map "<[email protected]>" (with any name) to "Emily Shaffer <[email protected]>", and using a nameless <[email protected]> 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 [email protected] <[email protected]> 1680902569 -0700
    committer Junio C Hamano <[email protected]> 1680902794 -0700

mailmap: change primary address for Emily Shaffer
...

would show with a substituted author:

Quoted 7 lines
    $ git show HEAD
    commit 2485a52e4b4419020286e98dd04c0e5ebb218f06
    Author: Emily Shaffer <[email protected]>
    Date:   Fri Apr 7 14:22:49 2023 -0700

mailmap: change primary address for Emily Shaffer
...

Oh, yuck. I guess I'm sending nameless From: line because of poorly-configured git-send-email settings. I'll look into it.

Quoted 3 lines

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

Thanks muchly.

- Emily