]> git.ipfire.org Git - thirdparty/git.git/commit - t/t0000-basic.sh
t0000: use hash translation table
authorbrian m. carlson <sandals@crustytoothpaste.net>
Thu, 13 Sep 2018 05:17:32 +0000 (05:17 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 13 Sep 2018 21:15:24 +0000 (14:15 -0700)
commitcdd1e17f87105dcb828f3e79cec14fcdc5073e46
tree110d04409d5a0f2a61284944001bb2afae424b34
parent2c02b110da641fed514c2939d678508ea16051ac
t0000: use hash translation table

If the hash we're using is 32 bytes in size, attempting to insert a
20-byte object name won't work.  Since these are synthesized objects
that are almost all zeros, look them up in a translation table.

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