mailmap: update brian m. carlson's email address
PATCH 1/1 mailmap: update brian m. carlson's email address
The order of addresses in the mailmap file was reversed, leading to git preferring the crustytoothpaste.ath.cx address, which is obsolete, over the crustytoothpaste.net address, which is current. Switch the order of the addresses so that git log displays the correct address.
--- .mailmap | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
.mailmap +2 -2
@@ -25,8 +25,8 @@ Ben Walton <[email protected]> <[email protected]> Benoit Sigoure <[email protected]> <[email protected]> Bernt Hansen <[email protected]> <[email protected]> Brandon Casey <[email protected]> <[email protected]> -brian m. carlson <[email protected]> Brian M. Carlson <[email protected]> -brian m. carlson <[email protected]> <[email protected]> +brian m. carlson <[email protected]> Brian M. Carlson <[email protected]> +brian m. carlson <[email protected]> <[email protected]> Bryan Larsen <[email protected]> <[email protected]> Bryan Larsen <[email protected]> <[email protected]> Cheng Renquan <[email protected]>
Quoted 7 lines · brian m. carlson
The order of addresses in the mailmap file was reversed, leading to git preferring the crustytoothpaste.ath.cx address, which is obsolete, over the crustytoothpaste.net address, which is current. Switch the order of the addresses so that git log displays the correct address.
Signed-off-by brian m. carlson <[email protected]>---
I initially reacted to "was reversed" with "yikes, did we break the mailmap reader and we need to update the file?", but apparently that is not what this patch is about. I think what is happening here is that cdb6b5ac (".mailmap: Combine more (name, email) to individual persons", 2013-08-12) removed
-Brian M. Carlson <[email protected]>
and then added these two lines
+brian m. carlson <[email protected]> Brian M. Carlson <[email protected]> +brian m. carlson <[email protected]> <[email protected]>
where *.net address did not come from any other entry for you in the file. I guess the author of the patch saw that you were sending your messages from the .net address and tried to help by unifying the two addresses, without knowing your preference and recorded two reversed entries.
Will queue as-is for now, but if you want to update the log message I do not mind taking a reroll.
Thanks.
Quoted 18 lines
.mailmap | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-).mailmap +2
-2@@ -25,8 +25,8 @@ Ben Walton <[email protected]> <[email protected]> Benoit Sigoure <[email protected]> <[email protected]> Bernt Hansen <[email protected]> <[email protected]> Brandon Casey <[email protected]> <[email protected]> -brian m. carlson <[email protected]> Brian M. Carlson <[email protected]> -brian m. carlson <[email protected]> <[email protected]> +brian m. carlson <[email protected]> Brian M. Carlson <[email protected]> +brian m. carlson <[email protected]> <[email protected]> Bryan Larsen <[email protected]> <[email protected]> Bryan Larsen <[email protected]> <[email protected]> Cheng Renquan <[email protected]>
Quoted 23 lines · Junio C Hamano
Quoted 7 lines · brian m. carlson
The order of addresses in the mailmap file was reversed, leading to git preferring the crustytoothpaste.ath.cx address, which is obsolete, over the crustytoothpaste.net address, which is current. Switch the order of the addresses so that git log displays the correct address.
Signed-off-by brian m. carlson <[email protected]>---
I initially reacted to "was reversed" with "yikes, did we break the mailmap reader and we need to update the file?", but apparently that is not what this patch is about. I think what is happening here is that
cdb6b5ac(".mailmap: Combine more (name, email) to individual persons", 2013-08-12) removed-Brian M. Carlson <[email protected]>
and then added these two lines
(quoted diff) +2
-0+brian m. carlson <[email protected]> Brian M. Carlson <[email protected]> +brian m. carlson <[email protected]> <[email protected]>
Quoted 8 lines
where *.net address did not come from any other entry for you in the file. I guess the author of the patch saw that you were sending your messages from the .net address and tried to help by unifying the two addresses, without knowing your preference and recorded two reversed entries.
Will queue as-is for now, but if you want to update the log message I do not mind taking a reroll.
brian,
sorry to break you there. I was the author of the patch Junio found, organizing the .mailmap file was one of my starter contributions. I recall asking all the people if they were ok with it their names combined in different spellings 94b410bba86 (.mailmap: Map email addresses to names, 2013-07-12) f4f49e2258a (.mailmap: Combine more (email, name) to individual persons, 2013-07-14)
and I vaguley recall asking you about capitalization of your name there and you preferred the lower case name, but apparently I never asked you about the preferred email address.
Sorry and thanks for fixing,
Stefan
Quoted 11 lines · Stefan Beller
brian,
sorry to break you there. I was the author of the patch Junio found, organizing the .mailmap file was one of my starter contributions. I recall asking all the people if they were ok with it their names combined in different spellings
94b410bba86(.mailmap: Map email addresses to names, 2013-07-12)f4f49e2258a(.mailmap: Combine more (email, name) to individual persons, 2013-07-14)
and I vaguley recall asking you about capitalization of your name there and you preferred the lower case name, but apparently I never asked you about the preferred email address.
Not a problem. I hadn't until very recently completely understood the format of the .mailmap file (in that the correct items are always to be on the left), so I didn't think anything of it when reviewing the commit. Perhaps I should come up with a patch to the documentation to make it easier for past me to understand.
I only recently realized that with my transition to a separate mail server (in September), the crustytoothpaste.ath.cx address doesn't actually work, and when perusing the output of git log, realized that it was the wrong way around.
Signature · 2 lines
brian m. carlson: Houston, Texas, US OpenPGP: https://keybase.io/bk2204
Quoted 13 lines · Junio C Hamano
I initially reacted to "was reversed" with "yikes, did we break the mailmap reader and we need to update the file?", but apparently that is not what this patch is about. I think what is happening here is that
cdb6b5ac(".mailmap: Combine more (name, email) to individual persons", 2013-08-12) removed-Brian M. Carlson <[email protected]>
and then added these two lines
(quoted diff) +2
-0+brian m. carlson <[email protected]> Brian M. Carlson <[email protected]> +brian m. carlson <[email protected]> <[email protected]>
Quoted 8 lines
where *.net address did not come from any other entry for you in the file. I guess the author of the patch saw that you were sending your messages from the .net address and tried to help by unifying the two addresses, without knowing your preference and recorded two reversed entries.
Will queue as-is for now, but if you want to update the log message I do not mind taking a reroll.
I can reroll with a less alarming commit message, sure.
Signature · 2 lines
brian m. carlson: Houston, Texas, US OpenPGP: https://keybase.io/bk2204
PATCH v2 1/1 mailmap: update brian m. carlson's email address
In reply to brian m. carlsonAn earlier change, cdb6b5ac (".mailmap: Combine more (name, email) to individual persons", 2013-08-12), noted that there were two name spellings and two email addresses and mapped the crustytoothpaste.net address to the crustytoothpaste.ath.cx address. The latter is an older, obsolete address, while the former is current, so switch the order of the addresses so that git log displays the correct address.
---
I intentionally avoided the use of the first person here, because I wasn't sure what the preference of the list was on that. Hopefully it reads naturally and isn't awkward.
If not, I can send a v3.
.mailmap | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
.mailmap +2 -2
@@ -25,8 +25,8 @@ Ben Walton <[email protected]> <[email protected]> Benoit Sigoure <[email protected]> <[email protected]> Bernt Hansen <[email protected]> <[email protected]> Brandon Casey <[email protected]> <[email protected]> -brian m. carlson <[email protected]> Brian M. Carlson <[email protected]> -brian m. carlson <[email protected]> <[email protected]> +brian m. carlson <[email protected]> Brian M. Carlson <[email protected]> +brian m. carlson <[email protected]> <[email protected]> Bryan Larsen <[email protected]> <[email protected]> Bryan Larsen <[email protected]> <[email protected]> Cheng Renquan <[email protected]>
Quoted 7 lines · brian m. carlson
An earlier change,
cdb6b5ac(".mailmap: Combine more (name, email) to individual persons", 2013-08-12), noted that there were two name spellings and two email addresses and mapped the crustytoothpaste.net address to the crustytoothpaste.ath.cx address. The latter is an older, obsolete address, while the former is current, so switch the order of the addresses so that git log displays the correct address.
Quoted 7 lines
Signed-off-by brian m. carlson <[email protected]>---
I intentionally avoided the use of the first person here, because I wasn't sure what the preference of the list was on that. Hopefully it reads naturally and isn't awkward.If not, I can send a v3.
Nah, the updated text is perfect. Thanks, will replace.
Quoted 19 lines
.mailmap | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-).mailmap +2
-2@@ -25,8 +25,8 @@ Ben Walton <[email protected]> <[email protected]> Benoit Sigoure <[email protected]> <[email protected]> Bernt Hansen <[email protected]> <[email protected]> Brandon Casey <[email protected]> <[email protected]> -brian m. carlson <[email protected]> Brian M. Carlson <[email protected]> -brian m. carlson <[email protected]> <[email protected]> +brian m. carlson <[email protected]> Brian M. Carlson <[email protected]> +brian m. carlson <[email protected]> <[email protected]> Bryan Larsen <[email protected]> <[email protected]> Bryan Larsen <[email protected]> <[email protected]> Cheng Renquan <[email protected]>
Quoted 7 lines · brian m. carlson
An earlier change,
cdb6b5ac(".mailmap: Combine more (name, email) to individual persons", 2013-08-12), noted that there were two name spellings and two email addresses and mapped the crustytoothpaste.net address to the crustytoothpaste.ath.cx address. The latter is an older, obsolete address, while the former is current, so switch the order of the addresses so that git log displays the correct address.
Just to be sure, you're meaning the use of git log --use-mailmap when you mean git log in the log message. Am I right? Or did you mean git shortlog ?
I'm asking this because I think the git log output doesn't consider the mailmap file by default.
Signature · 34 lines
Sivaraam
QUOTE:
“The most valuable person on any team is the person who makes everyone
else on the team more valuable, not the person who knows the most.”
- Joel Spolsky
Sivaraam?
You possibly might have noticed that my signature recently changed from
'Kaartic' to 'Sivaraam' both of which are parts of my name. I find the
new signature to be better for several reasons one of which is that the
former signature has a lot of ambiguities in the place I live as it is a
common name (NOTE: it's not a common spelling, just a common name). So,
I switched signatures before it's too late.
That said, I won't mind you calling me 'Kaartic' if you like it [of
course ;-)]. You can always call me using either of the names.
KIND NOTE TO THE NATIVE ENGLISH SPEAKER:
As I'm not a native English speaker myself, there might be mistaeks in
my usage of English. I apologise for any mistakes that I make.
It would be "helpful" if you take the time to point out the mistakes.
It would be "super helpful" if you could provide suggestions about how
to correct those mistakes.
Thanks in advance!Quoted 6 lines · Kaartic Sivaraam
Just to be sure, you're meaning the use of
git log --use-mailmapwhen you meangit login the log message. Am I right? Or did you meangit shortlog?I'm asking this because I think the
git logoutput doesn't consider the mailmap file by default.
Correct, it doesn't. In my case, I was using --pretty='%aN <%aE>', which is how I noticed it in the first place.
Signature · 2 lines
brian m. carlson: Houston, Texas, US OpenPGP: https://keybase.io/bk2204
Quoted 2 lines · brian m. carlson
Correct, it doesn't. In my case, I was using --pretty='%aN <%aE>', which is how I noticed it in the first place.
So, how about updating the commit message to avoid confusions to the incidental future reader? (Or is it just not worth it? ;-])
Signature · 1 line
Sivaraam
Quoted 6 lines · Kaartic Sivaraam
Quoted 2 lines · brian m. carlson
Correct, it doesn't. In my case, I was using --pretty='%aN <%aE>', which is how I noticed it in the first place.
So, how about updating the commit message to avoid confusions to the incidental future reader? (Or is it just not worth it? ;-])
I don't think it's worth it. It does apply to git log, just not unless you enable the mailmap, which I supposed was implicit. I can do a v3 if someone feels strongly, but otherwise I think it's fine as it is.
Signature · 2 lines
brian m. carlson: Houston, Texas, US OpenPGP: https://keybase.io/bk2204
Hi,
Quoted 7 lines · brian m. carlson
An earlier change,
cdb6b5ac(".mailmap: Combine more (name, email) to individual persons", 2013-08-12), noted that there were two name spellings and two email addresses and mapped the crustytoothpaste.net address to the crustytoothpaste.ath.cx address. The latter is an older, obsolete address, while the former is current, so switch the order of the addresses so that git log displays the correct address.
Quoted 5 lines
Signed-off-by brian m. carlson <[email protected]>---
I intentionally avoided the use of the first person here, because I wasn't sure what the preference of the list was on that. Hopefully it reads naturally and isn't awkward.
I have no preference. First or third person would work equally well for me for this kind of thing.
[...]
.mailmap Ben Walton <[email protected]> <[email protected]> · line 29
Quoted 10 lines
.mailmap +2
-2@@ -25,8 +25,8 @@ Ben Walton <[email protected]> <[email protected]> Benoit Sigoure <[email protected]> <[email protected]> Bernt Hansen <[email protected]> <[email protected]> Brandon Casey <[email protected]> <[email protected]> -brian m. carlson <[email protected]> Brian M. Carlson <[email protected]> -brian m. carlson <[email protected]> <[email protected]> +brian m. carlson <[email protected]> Brian M. Carlson <[email protected]> +brian m. carlson <[email protected]> <[email protected]>
Today I tried a "git shortlog" run and was surprised to find
Brian M. Carlson (6):
Add missing test file for UTF-16.
submodule: fix confusing variable name
submodule: don't print status output with ignore=all
send-email: don't call methods on undefined values
http-backend: provide Allow header for 405
remote-curl: fix large pushes with GSSAPI
These commits use author Brian M. Carlson <[email protected]>. Previously they matched
brian m. carlson <[email protected]> <[email protected]>
but now they don't match any line in the .mailmap file.
Should we add a line
brian m. carlson <[email protected]>
to handle these commits?
Thanks,
Jonathan
Quoted 5 lines · Jonathan Nieder
These commits use author Brian M. Carlson <[email protected]>. Previously they matched
brian m. carlson <[email protected]> <[email protected]>
Quoted 7 lines
but now they don't match any line in the .mailmap file.
Should we add a line
brian m. carlson <[email protected]>
to handle these commits?
Ah, good point. Probably so.
Signature · 2 lines
brian m. carlson: Houston, Texas, US OpenPGP: https://keybase.io/bk2204
PATCH 1/1 mailmap: consistently normalize brian m. carlson's name
v2.18.0-rc0~70^2 (mailmap: update brian m. carlson's email address, 2018-05-08) changed the mailmap to map
[email protected]
-> brian m. carlson <[email protected]>
instead of
-> brian m. carlson <[email protected]>
That means the mapping
Brian M. Carlson <[email protected]>
-> brian m. carlson <[email protected]>
is redundant, so we can remove it. More importantly, it means that the identity "Brian M. Carlson <[email protected]>" used in some commits is not normalized any more. Add a mapping for it.
Noticed while updating Debian's Git packaging, which uses "git shortlog --no-merges" to produce a list of changes in each version, grouped by author's (normalized) name.
---
Quoted 9 lines · brian m. carlson
Quoted 7 lines · Jonathan Nieder
These commits use author Brian M. Carlson <[email protected]>. Previously they matched
brian m. carlson <[email protected]> <[email protected]>
but now they don't match any line in the .mailmap file.
Quoted 7 lines
Quoted 5 lines
Should we add a line
brian m. carlson <[email protected]>
to handle these commits?
Ah, good point. Probably so.
Sorry to leave this hanging for so long. How about this patch?
Thanks,
Jonathan
.mailmap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
.mailmap +1 -1
@@ -25,7 +25,7 @@ Ben Walton <[email protected]> <[email protected]> Benoit Sigoure <[email protected]> <[email protected]> Bernt Hansen <[email protected]> <[email protected]> Brandon Casey <[email protected]> <[email protected]> -brian m. carlson <[email protected]> Brian M. Carlson <[email protected]> +brian m. carlson <[email protected]> Brian M. Carlson <[email protected]> brian m. carlson <[email protected]> <[email protected]> Bryan Larsen <[email protected]> <[email protected]> Bryan Larsen <[email protected]> <[email protected]>
Signature · 1 line
2.19.0.397.gdd90340f6a
Re: [PATCH] mailmap: consistently normalize brian m. carlson's name
Quoted 16 lines · Jonathan Nieder
v2.18.0-rc0~70^2 (mailmap: update brian m. carlson's email address, 2018-05-08) changed the mailmap to map
[email protected]
-> brian m. carlson <[email protected]>instead of
-> brian m. carlson <[email protected]>That means the mapping
Brian M. Carlson <[email protected]>
-> brian m. carlson <[email protected]>
Quoted 7 lines
is redundant, so we can remove it. More importantly, it means that the identity "Brian M. Carlson <[email protected]>" used in some commits is not normalized any more. Add a mapping for it.
Noticed while updating Debian's Git packaging, which uses "git shortlog --no-merges" to produce a list of changes in each version, grouped by author's (normalized) name.
I think this commit message makes sense. I apparently still fail to understand how the .mailmap format works, so I can't tell you if the patch is correct.
Signature · 2 lines
brian m. carlson: Houston, Texas, US OpenPGP: https://keybase.io/bk2204
PATCH v2 1/1 mailmap: consistently normalize brian m. carlson's name
v2.18.0-rc0~70^2 (mailmap: update brian m. carlson's email address, 2018-05-08) changed the mailmap to map
[email protected]
-> brian m. carlson <[email protected]>
instead of
-> brian m. carlson <[email protected]>
That means the mapping
Brian M. Carlson <[email protected]>
-> brian m. carlson <[email protected]>
is redundant, so we can remove it. More importantly, it means that the identity "Brian M. Carlson <[email protected]>" used in some commits is not normalized any more. Add a mapping for it.
Noticed while updating Debian's Git packaging, which uses "git shortlog --no-merges" to produce a list of changes in each version, grouped by author's (normalized) name.
---
Hi,
Quoted 3 lines · brian m. carlson
I think this commit message makes sense. I apparently still fail to understand how the .mailmap format works, so I can't tell you if the patch is correct.
Thanks for looking it over. What would it take to make the patch make sense, too? ;-)
Most mailmap entries are of the form
Some Name <[email protected]>
which means "Wherever you see the email address [email protected], canonicalize the author's name to Some Name". We can use that:
brian m. carlson <[email protected]>
When we see [email protected], we also want to canonicalize the email address. For that, we can do
brian m. carlson <[email protected]> <[email protected]>
There's only one person who has used these email addresses, so we don't have to do matching by name. If we wanted to tighten the name normalization to match by name, I think we'd do something like
brian m. carlson <[email protected]> Brian M. Carlson
but I can't get that to seem to have any effect when I test with the "git check-mailmap" command --- for example, "git check-mailmap 'Dana How <[email protected]>'" does not map and "git check-mailmap 'Random Name <[email protected]>'" maps to 'Dana L. How <[email protected]>'.
The even tighter matching used in v1
brian m. carlson <[email protected]> Brian M. Carlson <[email protected]>
does work, but it's unnecessary complexity. We don't need it.
How about this?
Changes since v1:
- loosened the matching to only look at email and ignore name
- no other changes
.mailmap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
.mailmap +1 -1
@@ -25,7 +25,7 @@ Ben Walton <[email protected]> <[email protected]> Benoit Sigoure <[email protected]> <[email protected]> Bernt Hansen <[email protected]> <[email protected]> Brandon Casey <[email protected]> <[email protected]> -brian m. carlson <[email protected]> Brian M. Carlson <[email protected]> +brian m. carlson <[email protected]> brian m. carlson <[email protected]> <[email protected]> Bryan Larsen <[email protected]> <[email protected]> Bryan Larsen <[email protected]> <[email protected]>
Signature · 1 line
2.19.0.444.g18242da7ef
Re: [PATCH v2] mailmap: consistently normalize brian m. carlson's name
Quoted 10 lines · Jonathan Nieder
Hi,
Quoted 3 lines · brian m. carlson
I think this commit message makes sense. I apparently still fail to understand how the .mailmap format works, so I can't tell you if the patch is correct.
Thanks for looking it over. What would it take to make the patch make sense, too? ;-)
I certainly didn't mean to imply a failing on your part for explaining the change adequately. I've just always found the format confusing and I know others do, too.
Quoted 26 lines
Most mailmap entries are of the form
Some Name <[email protected]>
which means "Wherever you see the email address [email protected], canonicalize the author's name to Some Name". We can use that:
brian m. carlson <[email protected]>
When we see [email protected], we also want to canonicalize the email address. For that, we can do
brian m. carlson <[email protected]> <[email protected]>
There's only one person who has used these email addresses, so we don't have to do matching by name. If we wanted to tighten the name normalization to match by name, I think we'd do something like
brian m. carlson <[email protected]> Brian M. Carlson
but I can't get that to seem to have any effect when I test with the "git check-mailmap" command --- for example, "git check-mailmap 'Dana How <[email protected]>'" does not map and "git check-mailmap 'Random Name <[email protected]>'" maps to 'Dana L. How <[email protected]>'.
Quoted 5 lines
The even tighter matching used in v1
brian m. carlson <[email protected]> Brian M. Carlson <[email protected]>
does work, but it's unnecessary complexity. We don't need it.
This has been a really helpful explanation. Thanks.
Maybe I'll have some time over the next week or so to send a patch to the documentation to make it more understandable to past me.
Quoted 14 lines
How about this?
Changes since v1:
- loosened the matching to only look at email and ignore name
- no other changes.mailmap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-).mailmap +0
-0
.mailmap Ben Walton <[email protected]> <[email protected]> · line 31
Quoted 8 lines
.mailmap +1
-1@@ -25,7 +25,7 @@ Ben Walton <[email protected]> <[email protected]> Benoit Sigoure <[email protected]> <[email protected]> Bernt Hansen <[email protected]> <[email protected]> Brandon Casey <[email protected]> <[email protected]> -brian m. carlson <[email protected]> Brian M. Carlson <[email protected]> +brian m. carlson <[email protected]> brian m. carlson <[email protected]> <[email protected]> Bryan Larsen <[email protected]> <[email protected]> Bryan Larsen <[email protected]> <[email protected]>
Having read your explanation, this looks good. Thanks for fixing this.
Signature · 2 lines
brian m. carlson: Houston, Texas, US OpenPGP: https://keybase.io/bk2204
Re: [PATCH v2] mailmap: consistently normalize brian m. carlson's name
Quoted 4 lines · brian m. carlson
Quoted 3 lines · Jonathan Nieder
Quoted 1 line · brian m. carlson
I think this commit message makes sense.
[...]
Quoted 6 lines
Quoted 2 lines
What would it take to make the patch make
sense, too? ;-)I certainly didn't mean to imply a failing on your part for explaining the change adequately. I've just always found the format confusing and I know others do, too.
No worries. I took the opportunity because the patch isn't in "next" yet so I was looking for a way to nudge it forward. I think v2 is simpler than v1. Thanks for your help.
[...]
Quoted 4 lines
This has been a really helpful explanation. Thanks.
Maybe I'll have some time over the next week or so to send a patch to the documentation to make it more understandable to past me.
Sounds good. I think the (non-)handling of the 'name <email> name' case is likely to be a bug.
Quoted 1 line
Quoted 1 line
How about this?
[...]
Quoted 1 line
Having read your explanation, this looks good. Thanks for fixing this.
\o/ Thanks for looking it over.
Sincerely,
Jonathan