@matheusbsbs / matheus-bagliano / commits / aa894d8887
Fork 0

[PATCH] Make "git shortlog" understand raw logs

This is a nicer fix for git-shortlog being unable to handle the raw log format. Just use a more permissive regexp instead of doing two nearly identical ones. Signed-off-by: Linus Torvalds <torvalds@osdl.org> Signed-off-by: Junio C Hamano <junkio@cox.net>

Linus Torvalds committed Sep 16, 2005 at 18:02 UTC aa894d8887c96a8b72adf94c2b52c519f7b47174
1 file changed +1 -1
git-shortlog.perl
+1 -1
@@ -108,7 +108,7 @@ sub changelog_input {
108 if ($pstate == 1) {
109 my ($email);
110
111 - next unless /^Author: (.*)<(.*)>.*$/;
111 + next unless /^[Aa]uthor:? (.*)<(.*)>.*$/;
112
113 $n_records++;
114