From: Junio C Hamano Date: Tue, 20 Dec 2016 18:19:06 GMT Subject: Re: Allow "git shortlog" to group by committer information Message-ID: In-Reply-To: <16b115e0-3a7e-a5c2-1526-44bbcfc97db8@kdbg.org> Johannes Sixt writes: > Am 16.12.2016 um 14:51 schrieb Jeff King: >> diff --git a/t/t4201-shortlog.sh b/t/t4201-shortlog.sh >> index ae08b57712..6c7c637481 100755 >> --- a/t/t4201-shortlog.sh >> +++ b/t/t4201-shortlog.sh >> @@ -190,4 +190,17 @@ test_expect_success 'shortlog with --output=' ' >> test_line_count = 3 shortlog >> ' >> >> +test_expect_success 'shortlog --committer (internal)' ' >> + cat >expect <<-\EOF && >> + 3 C O Mitter >> + EOF >> + git shortlog -nsc HEAD >actual && >> + test_cmp expect actual >> +' >> + >> +test_expect_success 'shortlog --committer (external)' ' >> + git log --format=full | git shortlog -nsc >actual && >> + test_cmp expect actual >> +' >> + >> test_done >> > > May I kindly ask you to make this work on Windows, too? Just > > sed -i -e s/MINGW/MINGW,HAVENOT/ t4201-shortlog.sh HAVENOT??? > > on your Linux box and make it pass the tests. > > Thank you so much in advance. > > -- Hannes