aboutsummaryrefslogtreecommitdiff
path: root/git-shortlog.perl
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@osdl.org>2005-09-16 18:02:46 -0700
committerJunio C Hamano <junkio@cox.net>2005-09-17 11:57:50 -0700
commitaa894d8887c96a8b72adf94c2b52c519f7b47174 (patch)
treebc43538e4472faaf4f705e776c8aabc90b393095 /git-shortlog.perl
parent2a7055ae982fd66b078ac84cbb2b1f9408b67295 (diff)
downloadgit-aa894d8887c96a8b72adf94c2b52c519f7b47174.tar.gz
git-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 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++;