commit_counter_by_author is a Perl script that execute the git log command and
summarizes commit info by authors in the following format:
"author's name" [TAB] "author's email" [TAB] "the number of commits made by the author" [TAB] "hash list"
where two or more authors' records are merged if they seem the commits made by the same author, such that the same name but different emails; different names but the same email.
- "author's name" may include two or more names separated by a slash("/")
if the author appeared in the git log with different names:
for example, "Foo Bar" and "foo bar" appeared, but both of them have the same email address.
- "author's email" may include two or more addresses separated by a slash("/") if the author appeared in the git log with different email addresses:
for example, "email@example.com" and "firstname.lastname@example.org" appeared, both of them have the same author name.
- "hash list" consists of one or more commit hash separated by a slash("/").
Run the script in the target git repository:
(C) Copyright 2015 Hirohisa AMAN
perl commit_counter_by_author.pl [-d]
This is commit_counter_by_author.pl (ver.2.1)
(1/3) collecting authors' commit logs ... done.
(2/3) checking authors' commit data ... done.
0 commit record(s) were omitted.
277 author record(s) were merged.
Run again with -d option if you want to see omitted or merged data.
(3/3) sorting authors' commit data ... done.