Skip to contentSkip to conversation

Add entry to mailmap file

PATCH In review Stephen P. Smith 2 participants 4 messages Sep 6, 2024

lore
Share & tools
lore
#0 lore raw

cover Add entry to mailmap file

From: "Stephen P. Smith" <[email protected]>

Cox Communication quit supporting email in May. The accounts were moved to yahoo and I was never able to figure out a way to send an email that the yahoo web interface didn't modifiy in some way or I would have sent this patch from the old address.

I have since closed the account for cox.net.

Stephen P. Smith (1):
.mailmap document current address.

 .mailmap | 1 +
 1 file changed, 1 insertion(+)
Signature · 1 line
2.46.0.267.gbb9c16bd4f
#1 lore raw

PATCH 1/1 .mailmap document current address.

From: "Stephen P. Smith" <[email protected]>

Cox Communications no longer supports email and transfered accounts to yahoo. I closed the account at yahoo since I use gmail.com.

---
 .mailmap | 1 +
 1 file changed, 1 insertion(+)
.mailmap +1 -0
index 18128a1250..96c2740fbb 100644
@@ -257,6 +257,7 @@ Stefan Naewe <[email protected]> <[email protected]>
 Stefan Sperling <[email protected]> <[email protected]>
 Štěpán Němec <[email protected]> <[email protected]>
 Stephen Boyd <[email protected]> <[email protected]>
+Stephen P. Smith <[email protected]> <[email protected]>
 Steven Drake <[email protected]> <[email protected]>
 Steven Grimm <[email protected]> <[email protected]>
 Steven Grimm <[email protected]> [email protected]
Signature · 1 line
2.46.0.267.gbb9c16bd4f
#2 lore raw
In reply to Stephen P. Smith
Quoted 2 lines

From: "Stephen P. Smith" <[email protected]>

I don't know why git send-email added this extra From line to the body of the email. This line is not part of the file that format-patch created.

Quoted 12 lines

Cox Communication quit supporting email in May. The accounts were moved to yahoo and I was never able to figure out a way to send an email that the yahoo web interface didn't modifiy in some way or I would have sent this patch from the old address.

I have since closed the account for cox.net.

Stephen P. Smith (1):
.mailmap document current address.

 .mailmap | 1 +
 1 file changed, 1 insertion(+)
#3 lore raw
Quoted 5 lines · Stephen Smith
Quoted 2 lines

From: "Stephen P. Smith" <[email protected]>

I don't know why git send-email added this extra From line to the body of the email. This line is not part of the file that format-patch created.

Most likely that the author name recorded in the commit object is with "P.", but the name your MUA knows you as is without.

In such a case, the command adds what we call "in-body header" to override the headers MUA uses (in this case, "From:" that the recipient takes the authorship identity from).

As the name with "P." is what you signed-off your commit on the "Signed-off-by:" trailer line, it is absolutely the right thing to do to override the name MUA knows you as with the in-body header so that the author name matches exactly the name used for signing it off. IOW, what you sent is perfectly fine.

For future reference, another header commonly overridden with an in-body header is the "Subject:". In a general discussion that is not a review thread of any specific patch, somebody may come up with a patch to improve the situtation. In such a case, your message may look like:

From: A Project Participant <[email protected]>
Subject: Re: why does git do this?
To: [email protected]
Cc: ...other particpants...

Hmph, it does sound like a documentation bug. How about clarifying it this way?

---- >8 ----
Subject: doc: document the condition under which gostak distims the doshes

The document does not exactly say when gostak distims the doshes. Make sure it is clear by updating foo and bar documents.

---

The "scissors" mark (horizontal line drawn with "-" with scissors ">8") tells the recipient to ignore everything in the body before that line, and then we have in-body Subject: header to override the "why does git do this?" e-mail subject on the discussion thread with the title of the commit.