Re: Allow "git shortlog" to group by committer information

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 20.12.2016 um 19:52 schrieb Johannes Sixt:
Am 20.12.2016 um 19:35 schrieb Junio C Hamano:
 test_expect_success 'shortlog --committer (internal)' '
+    git checkout --orphan side &&
+    git commit --allow-empty -m one &&
+    git commit --allow-empty -m two &&
+    GIT_COMMITTER_NAME="Sin Nombre" git commit --allow-empty -m three &&

Clever! Thank you. Will test in 12 hours.

+
     cat >expect <<-\EOF &&
-         3    C O Mitter
+         2    C O Mitter
+         1    Sin Nombre
     EOF
     git shortlog -nsc HEAD >actual &&
     test_cmp expect actual



I confirm that t4201 now passes on Windows with this fixup.

-- Hannes




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]