{"thread":{"id":"1836","subject":"[Take 2] Make \"git shortlog\" understand raw logs","startedAt":"2005-09-17T01:02:46Z","lastAt":"2005-09-17T01:02:46Z","messageCount":1,"participants":["Linus Torvalds"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"8741","messageId":"Pine.LNX.4.58.0509161758270.26803@g5.osdl.org","threadId":"1836","inReplyTo":null,"subject":"[Take 2] Make \"git shortlog\" understand raw logs","fromName":"Linus Torvalds","fromEmail":"torvalds@osdl.org","sentAt":"2005-09-17T01:02:46Z","receivedAt":"2005-09-17T01:02:46Z","isPatch":false,"sender":{"key":"torvalds@linux-foundation.org","avatar":"https://avatars.githubusercontent.com/u/1024025?v=4"},"body":"\nThis is a nicer fix for git-shortlog being unable to handle the raw log \nformat. Just use a more permissive regexp instead of doing two nearly \nidentical ones.\n\nSigned-off-by: Linus Torvalds <torvalds@osdl.org>\n---\ndiff --git a/git-shortlog.perl b/git-shortlog.perl\n--- a/git-shortlog.perl\n+++ b/git-shortlog.perl\n@@ -108,7 +108,7 @@ sub changelog_input {\n \t\tif ($pstate == 1) {\n \t\t\tmy ($email);\n \n-\t\t\tnext unless /^Author: (.*)<(.*)>.*$/;\n+\t\t\tnext unless /^[Aa]uthor:? (.*)<(.*)>.*$/;\n \t\n \t\t\t$n_records++;\n \t\n"}]}