User Tools

  • Logged in as: anonymous (anonymous)
  • Log Out

Site Tools


mantisbt:mailmap

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
mantisbt:mailmap [2019/08/08 19:28] – link straight to "mapping authors" section of git manual dregadmantisbt:mailmap [2019/08/08 19:35] – [Example] finish sentence dregad
Line 8: Line 8:
 ===== Identifying duplicate authors in Git history ===== ===== Identifying duplicate authors in Git history =====
  
-This section provides command to identify duplicatesthat would require an entry in the .mailmap file.+This section provides command to identify duplicates that would require an entry in the .mailmap file.  
 + 
 +If there is no output, then there's nothing to do ! :-)
  
 ==== Multiple e-mail addresses ==== ==== Multiple e-mail addresses ====
Line 34: Line 36:
 </code> </code>
  
-See [[#references|Reference section]] below for details .mailmap file syntax.+See [[#references|Reference section]] below for details about .mailmap file syntax.
  
 ===== Example ===== ===== Example =====
  
-The example below was generated on the MantisBT repository, after deleting ''.mailmap''For the sake of simplicity, only +The example below was generated on the MantisBT repository, after removing Victor's aliases from the ''.mailmap'' file.
  
-  - Identify <code>+  - Identify duplicates <code>
 $ git log --format='%aN <%aE>' | sort -u | awk -F'<' '{print $1}' | uniq -c | grep -v '^ *1 '| cut -c9- $ git log --format='%aN <%aE>' | sort -u | awk -F'<' '{print $1}' | uniq -c | grep -v '^ *1 '| cut -c9-
 Victor Boctor  Victor Boctor 
mantisbt/mailmap.txt · Last modified: 2023/09/08 10:13 by dregad

CC Attribution-Noncommercial-Share Alike 4.0 International Driven by DokuWiki