git_stats icon indicating copy to clipboard operation
git_stats copied to clipboard

Is it possible to aggregate stats by author name instead of author+email

Open PerfectCarl opened this issue 10 years ago • 2 comments

In my project, the most prolific author changed his email during the course of the project (but not his commit name) skewing the stats altogether.

Could it be possible to aggregrate the author only by name?

PerfectCarl avatar Jan 07 '15 08:01 PerfectCarl

Hi, I am currently using the Python-based gitstats and do this with a .mailmap file in the repo. Unfortunately, git_stats apparently ignores it.

pulkomandy avatar May 19 '19 12:05 pulkomandy

Remove email here https://github.com/tomgi/git_stats/blob/cb0af46e187ce718d78ced6d3b13540ca874897b/lib/git_stats/git_data/author.rb#L62

1v avatar Apr 29 '20 10:04 1v