Browse Source

[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>
maint
Linus Torvalds 20 years ago committed by Junio C Hamano
parent
commit
aa894d8887
  1. 2
      git-shortlog.perl

2
git-shortlog.perl

@ -108,7 +108,7 @@ sub changelog_input { @@ -108,7 +108,7 @@ sub changelog_input {
if ($pstate == 1) {
my ($email);

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

Loading…
Cancel
Save