From aa894d8887c96a8b72adf94c2b52c519f7b47174 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Fri, 16 Sep 2005 18:02:46 -0700 Subject: [PATCH] [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 --- git-shortlog.perl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-shortlog.perl b/git-shortlog.perl index 107c895df..8f0984be0 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++; -- 2.30.2