From: Linus Torvalds Date: Sat, 17 Sep 2005 01:02:46 +0000 (-0700) Subject: [PATCH] Make "git shortlog" understand raw logs X-Git-Tag: v0.99.7~14 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=aa894d8887c96a8b72adf94c2b52c519f7b47174;p=git.git [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 Signed-off-by: Junio C Hamano --- diff --git a/git-shortlog.perl b/git-shortlog.perl index 107c895d..8f0984be 100755 --- a/git-shortlog.perl +++ b/git-shortlog.perl @@ -108,7 +108,7 @@ sub changelog_input { if ($pstate == 1) { my ($email); - next unless /^Author: (.*)<(.*)>.*$/; + next unless /^[Aa]uthor:? (.*)<(.*)>.*$/; $n_records++;