ejwa / gitinspector

:bar_chart: The statistical analysis tool for git repositories
GNU General Public License v3.0
2.34k stars 324 forks source link

How to mark commit authors as duplicate #199

Closed jpadhye closed 4 years ago

jpadhye commented 4 years ago

I'm trying to run stats on my repository. It seems same author has committed with different GIT configuration so following shoes up in result. How can I tell the tool to use the author as same. If we can provide the tool with a map of duplicate author names then it would be really useful.

Statistical information for the repository 'test-repo' was gathered on 2019/08/27.
The following historical commit information, by author, was found:
Author                     Commits    Insertions      Deletions    % of changes
John Doe                     24          3060           6475            3.54
John Doe (jdoe)             3           450             74            0.19
jpadhye commented 4 years ago

Found the answer. By using git .mailmap