diff options
author | Stefan Beller <sbeller@google.com> | 2017-07-26 12:06:31 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-07-26 13:32:59 -0700 |
commit | 0ba9c9a0fb8f09577346cf15162956a96b0a30fb (patch) | |
tree | b79c38d1cf8a98861663d3fbae08b8240ccab9db /t/t3901 | |
parent | Git 2.14-rc1 (diff) | |
download | tgif-0ba9c9a0fb8f09577346cf15162956a96b0a30fb.tar.xz |
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>
Diffstat (limited to 't/t3901')
0 files changed, 0 insertions, 0 deletions