]> git.ipfire.org Git - thirdparty/git.git/commit - t/t5324-split-commit-graph.sh
t5324: make hash size independent
authorbrian m. carlson <sandals@crustytoothpaste.net>
Sat, 21 Dec 2019 19:49:27 +0000 (19:49 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 15 Jan 2020 22:06:19 +0000 (14:06 -0800)
commit82d5aeb1e606d6fb397d92c1b8ec95fd94b71d95
tree3a205dc15d68a2c0b55f2beb18726a2fa0c43ee8
parent3c5e65cac15a7f3a52fc53babd079aeaddb47c20
t5324: make hash size independent

There are some offsets in the commit graph files used to corrupt data.
Compute these offsets for both SHA-1 and SHA-256 so that the test works
with either.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5324-split-commit-graph.sh