t4205: sort log output in a hash-independent way
commit2a73022e5cd95e01e5923cf3a451f941e48806be
authorbrian m. carlson <sandals@crustytoothpaste.net>
Mon, 21 May 2018 02:01:43 +0000 (21 02:01 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 21 May 2018 04:55:48 +0000 (21 13:55 +0900)
tree3493baa5183375ec5953bcc5919d5b9ea5fe8aa2
parentd29d5001e9614871e05410362b20e1f0a76157a6
t4205: sort log output in a hash-independent way

This test enumerates log entries and then sorts them.  For SHA-1, this
produces results that happen to sort in the order specified in the test,
but for other hash algorithms they sort differently.  Ensure we sort the
log entries in a hash-independent way by sorting on the ref name instead
of the object ID.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t4205-log-pretty-formats.sh