]> git.ipfire.org Git - thirdparty/git.git/commit
t3800: make hash-size independent
authorbrian m. carlson <sandals@crustytoothpaste.net>
Sun, 18 Aug 2019 19:16:42 +0000 (19:16 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 20 Aug 2019 18:09:22 +0000 (11:09 -0700)
commitacb49d1cc8b1f4a59af1071791f2751383464f0b
treed01dd8e95b69e51b45ccba33a3361ab4315daa49
parentca6ba94200dc8e96dc9e495273aff6a7399cf1e9
t3800: make hash-size independent

Replace references to several hard-coded object IDs with a variable
referring to the generated commit.  Avoid matching on exact character
positions, which will be different depending on the hash in use.  In the
test for a valid object ID, use an obviously invalid one from the lookup
table.

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