t4009: make hash size independent
commit0c37c41d1395fac7e715d1b6859828e2c0bf00f4
authorbrian m. carlson <sandals@crustytoothpaste.net>
Mon, 26 Aug 2019 01:43:44 +0000 (26 01:43 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 26 Aug 2019 15:55:45 +0000 (26 08:55 -0700)
tree8107b145b735a818c2db0c442e62dafbc70f3c85
parentc1f3dfcc23e92fa4e69271e6c655f5c54cb1ce7f
t4009: make hash size independent

Instead of hard-coding object IDs, compute them and use those in the
comparison.  Note that the comparison code ignores the actual object
IDs, but does check that they're the right size, so computing them is
the easiest way to ensure that they are.

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