t8008: rely on rev-parse'd HEAD instead of sha1 value
commit0ba9c9a0fb8f09577346cf15162956a96b0a30fb
authorStefan Beller <sbeller@google.com>
Wed, 26 Jul 2017 19:06:31 +0000 (26 12:06 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 26 Jul 2017 20:32:59 +0000 (26 13:32 -0700)
treeb79c38d1cf8a98861663d3fbae08b8240ccab9db
parent5800c63717ae35286a1441f14ffff753e01f7e2b
t8008: rely on rev-parse'd HEAD instead of sha1 value

Remove hard coded sha1 values, obtain the values using
'git rev-parse HEAD' which should be future proof regardless
of the hash function used.

Additionally future-proof the test by hard coding the
abbreviation length of the hash.

Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t8008-blame-formats.sh