mirror of
https://github.com/git/git.git
synced 2024-11-24 02:17:02 +08:00
[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>
This commit is contained in:
parent
2a7055ae98
commit
aa894d8887
@ -108,7 +108,7 @@ sub changelog_input {
|
|||||||
if ($pstate == 1) {
|
if ($pstate == 1) {
|
||||||
my ($email);
|
my ($email);
|
||||||
|
|
||||||
next unless /^Author: (.*)<(.*)>.*$/;
|
next unless /^[Aa]uthor:? (.*)<(.*)>.*$/;
|
||||||
|
|
||||||
$n_records++;
|
$n_records++;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user