t1512: skip test if not using SHA-1
commitd7a2fc82491b63a65fd38f833cabbee9803e45ca
authorbrian m. carlson <sandals@crustytoothpaste.net>
Sun, 13 May 2018 02:24:18 +0000 (13 02:24 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 14 May 2018 02:02:01 +0000 (14 11:02 +0900)
tree3bc151fc756f61b0f1a2566ceb296fcc4a5eb406
parent0fbdb52f9eb1b73cb207891e00ce18c2d20ed6c9
t1512: skip test if not using SHA-1

This test relies on objects with colliding short names which are
necessarily dependent on the hash used.  Skip the test if we're not
using SHA-1.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1512-rev-parse-disambiguation.sh