Skip to content

Commit

Permalink
[PATCH] Make "git shortlog" understand raw logs
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Linus Torvalds authored and Junio C Hamano committed Sep 17, 2005
1 parent 2a7055a commit aa894d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-shortlog.perl
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ sub changelog_input {
if ($pstate == 1) {
my ($email);

next unless /^Author: (.*)<(.*)>.*$/;
next unless /^[Aa]uthor:? (.*)<(.*)>.*$/;

$n_records++;

Expand Down

0 comments on commit aa894d8

Please sign in to comment.