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 revision Previous revision
Next revision
Previous revision
mantisbt:mailmap [2019/08/08 19:28]
dregad link straight to "mapping authors" section of git manual
mantisbt:mailmap [2019/08/08 19:35] (current)
dregad [Example] finish sentence
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.1565306918.txt.gz · Last modified: 2019/08/08 19:28 by dregad