Skip to contentSkip to conversation

Add git special file .mailmap

PATCH In review Don Slutz 3 participants 7 messages Oct 2, 2013 – Oct 14, 2013

lore
Share & tools
lore

Don Slutz

author
#0 lore raw

PATCH 1/1 Add git special file .mailmap

This file is used by 'git shortlog -nse' to combine multiple e-mail address for the same person. See 'git shortlog --help'

I need this because my e-mail address has changed. I also added a few lines that I think are correct.

---
 .mailmap |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)
 create mode 100644 .mailmap
.mailmap new file +17 -0
new file mode 100644
index 0000000..d5ccf42
@@ -0,0 +1,17 @@
+Don Slutz <[email protected]> Don Slutz <[email protected]>
+Keir Fraser <[email protected]> Keir Frser <[email protected]>
+Keir Fraser <[email protected]> Keir Fraser <[email protected]>
+Keir Fraser <[email protected]> Keir Fraser <[email protected]>
+Jan Beulich <[email protected]> Jan Beulich <[email protected]>
+Jan Beulich <[email protected]> Jan Beulich <[email protected]>
+Jan Beulich <[email protected]> Jan Beulich <none@none>
+Tim Deegan <[email protected]> Tim Deegan <[email protected]>
+Tim Deegan <[email protected]> Tim Deegan <[email protected]>
+Tim Deegan <[email protected]> Tim Deegan <[email protected]>
+Tim Deegan <[email protected]> Tim Deegan <[email protected]>
+Ian Campbell <[email protected]> Ian Campbell <[email protected]>
+Ian Campbell <[email protected]> [email protected] <[email protected]>
+Ian Campbell <[email protected]> Ian Campbell <[email protected]>
+Ian Campbell <[email protected]> Ian Campbell <[email protected]>
+Ian Campbell <[email protected]> Ian Campbell <[email protected]>
+Ian Jackson <[email protected]> Ian Jackson <[email protected]>
Signature · 1 line
1.7.1
#1 lore raw
Quoted 4 lines · Don Slutz

This file is used by 'git shortlog -nse' to combine multiple e-mail address for the same person. See 'git shortlog --help'

I need this because my e-mail address has changed.

I'm not so sure about this. Linux uses this file only to correct bad UTF-8 encoding or actual spelling errors and similar such things.

I think if you made a contribution while at verizon there's no reason for it not to continue to appear so in the logs. Certainly we'd be adding a tonne of admin overhead if we were to try and keep everyone's address current, you've only scratched the surface here.

Quoted 1 line

+Jan Beulich <[email protected]> Jan Beulich <none@none>

This one seems like a good idea.

Quoted 1 line

+Ian Campbell <[email protected]> Ian Campbell <[email protected]>

Even apart from the above this one isn't necessarily correct, it would (sometimes) signify something I did on my own time (e.g. for Debian purposes) rather than at work.

Ian.

#2 lore raw
Quoted 5 lines
Quoted 1 line
Quoted 1 line · Ian Campbell
Quoted 1 line · Don Slutz

+Jan Beulich <[email protected]> Jan Beulich <none@none>

This one seems like a good idea.

Albeit I wonder why it's needed in the first place...

Jan

#3 lore raw
Quoted 7 lines · Jan Beulich
Quoted 5 lines
Quoted 1 line
Quoted 1 line · Ian Campbell
Quoted 1 line · Don Slutz

+Jan Beulich <[email protected]> Jan Beulich <none@none>

This one seems like a good idea.

Albeit I wonder why it's needed in the first place...

Things like this I guess:

        commit b314cd733413babc5978b819793ad5c77f094adf
        Author: Jan Beulich <none@none>
        Date:   Wed Sep 12 13:24:28 2012 +0200
        
            Revert 25843:51090fe1ab97 (x86/HVM: assorted RTC emulation adjustments)
            
            This was found to cause RHEL6 HVM guests to hang during shutdown.

I don't know if that's a git thing on whichever system was in use at the time or maybe it was a mercurial conversion issue.

Ian.

author
#4 lore raw
In reply to Ian Campbell
Quoted 4 lines · Ian Campbell
Quoted 3 lines · Don Slutz

This file is used by 'git shortlog -nse' to combine multiple e-mail address for the same person. See 'git shortlog --help'

Quoted 8 lines
Quoted 1 line

I need this because my e-mail address has changed.

I'm not so sure about this. Linux uses this file only to correct bad UTF-8 encoding or actual spelling errors and similar such things.

I think if you made a contribution while at verizon there's no reason for it not to continue to appear so in the logs. Certainly we'd be adding a tonne of admin overhead if we were to try and keep everyone's address current, you've only scratched the surface here.

This file does not in general change the output of "git log". It can be used to do so:

   don-760:~/xen>git show --pretty=format:"%h: committer=%cn <%ce> mapped to %cN <%cE>" 930b3fc8c9aafdc6723b3addc5a569dedffacc1d | head -1
   930b3fc: committer=Ian Campbell <[email protected]> mapped to Ian Campbell <[email protected]>

Also I was just trying to get a sample together. I am fine with just a few lines.

Quoted 10 lines
Quoted 1 line

+Jan Beulich <[email protected]> Jan Beulich <none@none>

This one seems like a good idea.

Quoted 1 line

+Ian Campbell <[email protected]> Ian Campbell <[email protected]>

Even apart from the above this one isn't necessarily correct, it would (sometimes) signify something I did on my own time (e.g. for Debian purposes) rather than at work.

Ian.

How about:

From 23738ce00048bfd18703dfdcb04c88231e71a547 Mon Sep 17 00:00:00 2001
From: Don Slutz <[email protected]>
Date: Wed, 2 Oct 2013 13:57:47 -0400
Subject: [PATCH] Add git special file .mailmap

This file is used by 'git shortlog -nse' to combine multiple e-mail address for the same person. See 'git shortlog --help'

I need this because my e-mail address has changed. I also added a few lines that I think are correct.

---
 .mailmap |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
 create mode 100644 .mailmap
.mailmap new file +2 -0
new file mode 100644
index 0000000..6d51b66
@@ -0,0 +1,2 @@
+Don Slutz <[email protected]> Don Slutz <[email protected]>
+Jan Beulich <[email protected]> Jan Beulich <none@none>
Signature · 1 line
1.7.1

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#5 lore raw
Quoted 1 line · Don Slutz

I need this because my e-mail address has changed.

I continue to disagree with this. Whatever you did at CloudSwitch was done at CloudSwitch. I'm sure people who need to mail you will figure out a way to do so without needing to refer to a random changeset.

The fact that we don't have an existing file and that noone else has seen a need to do this when they change jobs should give a pretty big hint that it is neither normal nor necessary.

Quoted 19 lines

I also added a few lines that I think are correct.

---
 .mailmap |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
 create mode 100644 .mailmap
.mailmap new file +2 -0
new file mode 100644
index 0000000..6d51b66
@@ -0,0 +1,2 @@
+Don Slutz <[email protected]> Don Slutz <[email protected]>
+Jan Beulich <[email protected]> Jan Beulich <none@none>
Signature · 1 line
1.7.1
author
#6 lore raw

Based on a lack of other replies, and as far as I can tell Ian Campbell does not want this, I am happy to withdraw this patch request.
-Don Slutz

Quoted 31 lines · Ian Campbell
Quoted 1 line · Don Slutz

I need this because my e-mail address has changed.

I continue to disagree with this. Whatever you did at CloudSwitch was done at CloudSwitch. I'm sure people who need to mail you will figure out a way to do so without needing to refer to a random changeset.

The fact that we don't have an existing file and that noone else has seen a need to do this when they change jobs should give a pretty big hint that it is neither normal nor necessary.

Quoted 19 lines

I also added a few lines that I think are correct.

---
  .mailmap |    2 ++
  1 files changed, 2 insertions(+), 0 deletions(-)

create mode 100644 .mailmap

.mailmap new file +2 -0
new file mode 100644
index 0000000..6d51b66
@@ -0,0 +1,2 @@
+Don Slutz <[email protected]> Don Slutz <[email protected]>
+Jan Beulich <[email protected]> Jan Beulich <none@none>
Signature · 1 line
1.7.1