magnucki / gitinspector

Automatically exported from code.google.com/p/gitinspector
GNU General Public License v3.0
0 stars 0 forks source link

Enhancement: option to exclude merges from stats #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
git log and shortlog have an option --no-merges. It would be nice if
gitinspector supported the same.

I am on a project with several git rookies, and they do merge on pull all the 
time, since they always work in master. Without --no-merges, they appear like 
top contributors! :-) 

Original issue reported on code.google.com by Jovanovi...@gmail.com on 22 Jun 2013 at 2:00

GoogleCodeExporter commented 9 years ago
Thanks for your report.

gitinspector already uses --no-merges in conjuction with "git log". Make sure 
you also pass the -H flag when running gitinspector; this tells gitinspector to 
use additional -C and -M parameters when calling git blame and git log.

If that doesn't help; something else is probably behind their high row counts. 
If that's the case - that might be interesting to look into.

/Adam Waldenberg

Original comment by gitinspe...@ejwa.se on 23 Jun 2013 at 4:58

GoogleCodeExporter commented 9 years ago
Thanks. Sorry, I somehow missed that. 

Great work BTW.

Original comment by Jovanovi...@gmail.com on 23 Jun 2013 at 4:59

GoogleCodeExporter commented 9 years ago
Thank you, no worries.

/Adam Waldenberg

Original comment by gitinspe...@ejwa.se on 23 Jun 2013 at 5:16