]> git.ipfire.org Git - thirdparty/git.git/commit
t5308: make test work with SHA-256
authorbrian m. carlson <sandals@crustytoothpaste.net>
Wed, 29 Jul 2020 23:14:16 +0000 (23:14 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 30 Jul 2020 16:16:48 +0000 (09:16 -0700)
commitde5737caf32bedca5e3c7b04a9dd5c12499b35e9
treec2fda0d7445a36db02f288841a81b89d943b85c6
parente0a646ed4fd7ae0c3320f7fa56d6a7d6bbaa8142
t5308: make test work with SHA-256

This test needs multiple object IDs that have the same first byte.
Update the pack test code to generate a suitable packed value for
SHA-256.  Update the test to use this value when using SHA-256.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Reviewed-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/lib-pack.sh
t/t5308-pack-detect-duplicates.sh