summaryrefslogtreecommitdiff
path: root/contrib/hooks/pre-auto-gc-battery
diff options
context:
space:
mode:
authorLibravatar Stefan Beller <sbeller@google.com>2017-07-26 12:06:31 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-07-26 13:32:59 -0700
commit0ba9c9a0fb8f09577346cf15162956a96b0a30fb (patch)
treeb79c38d1cf8a98861663d3fbae08b8240ccab9db /contrib/hooks/pre-auto-gc-battery
parentGit 2.14-rc1 (diff)
downloadtgif-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 'contrib/hooks/pre-auto-gc-battery')
0 files changed, 0 insertions, 0 deletions