summaryrefslogtreecommitdiff
path: root/git-shortlog.perl
diff options
context:
space:
mode:
authorLibravatar Linus Torvalds <torvalds@osdl.org>2005-09-16 18:02:46 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2005-09-17 11:57:50 -0700
commitaa894d8887c96a8b72adf94c2b52c519f7b47174 (patch)
treebc43538e4472faaf4f705e776c8aabc90b393095 /git-shortlog.perl
parent[PATCH] Fix "git-rev-list" revision range parsing (diff)
downloadtgif-aa894d8887c96a8b72adf94c2b52c519f7b47174.tar.xz
[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>
Diffstat (limited to 'git-shortlog.perl')
-rwxr-xr-xgit-shortlog.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-shortlog.perl b/git-shortlog.perl
index 107c895df3..8f0984be02 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++;