scripts/get_maintainer.pl: Add --git-blame --rolestats "Authored lines" information
When options --git-blame and --rolestats are specified, add
the maintainers with the qualifying --git-min-percent amount
of lines authored of the complete file. Does not add more
authors than specified by --git-max-maintainers.
For anyone using hg, this option works but is _very_ slow.
It's orders of magnitude slower than git slow.
The get_maintainer.pl version was incremented to 0.25.
This can be used with or without --git.
For instance:
$ ./scripts/get_maintainer.pl --git-blame --nogit --rolestats -f lib/bitmap.c
Paul Jackson <[email protected]> (authored lines:406/613=66%,commits:7/20=35%)
Akinobu Mita <[email protected]> (authored lines:87/613=14%,commits:3/20=15%)
Reinette Chatre <[email protected]> (authored lines:42/613=7%)
Andrew Morton <[email protected]> (commits:16/20=80%)
Paul Mundt <[email protected]> (commits:3/20=15%)
Randy Dunlap <[email protected]> (commits:2/20=10%)
$ ./scripts/get_maintainer.pl --git-blame --git --rolestats -f lib/bitmap.c
Andrew Morton <[email protected]> (commit_signer:4/5=80%,commits:16/20=80%)
Akinobu Mita <[email protected]> (commit_signer:2/5=40%,authored lines:87/613=14%,commits:3/20=15%)
Jack Steiner <[email protected]> (commit_signer:1/5=20%)
Ben Hutchings <[email protected]> (commit_signer:1/5=20%)
Lee Schermerhorn <[email protected]> (commit_signer:1/5=20%)
Paul Jackson <[email protected]> (authored lines:406/613=66%,commits:7/20=35%)
Reinette Chatre <[email protected]> (authored lines:42/613=7%)
Paul Mundt <[email protected]> (commits:3/20=15%)
Randy Dunlap <[email protected]> (commits:2/20=10%)
[email protected] (open list)
Signed-off-by: Joe Perches <[email protected]>
Cc: Mark Brown <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
1 file changed