]> git.ipfire.org Git - thirdparty/git.git/commit - t/lib-diff-alternative.sh
t/lib-diff-alternative: abstract away SHA-1-specific constants
authorbrian m. carlson <sandals@crustytoothpaste.net>
Mon, 21 May 2018 02:01:42 +0000 (02:01 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 21 May 2018 04:55:48 +0000 (13:55 +0900)
commitd29d5001e9614871e05410362b20e1f0a76157a6
treea55dfee235dd36a3eb45fba3ad0112234ea765a0
parenta6c5799052cb803d189b0f37c9be83ba6a3202ab
t/lib-diff-alternative: abstract away SHA-1-specific constants

Adjust the test code so that it computes variables for blobs instead of
using hard-coded hashes.  This makes t4033 and t4050 (the patience and
histogram tests) pass.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/lib-diff-alternative.sh