]> git.ipfire.org Git - thirdparty/git.git/commit
t5000: make hash independent
authorbrian m. carlson <sandals@crustytoothpaste.net>
Fri, 28 Jun 2019 22:59:22 +0000 (22:59 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 1 Jul 2019 20:28:18 +0000 (13:28 -0700)
commit0b78a1b22a4461b1909b0716d1572d2119d1c450
tree810c4f930a4ed6f1eb8e3c82ea867d02c7dccd0e
parent8de6b383c15a527c222688161156eb5c5acfecc4
t5000: make hash independent

This test uses a stub of a very large (64 GB) object to test our
generation of tar archives.  In doing so, it uses the object ID of the
object so it can insert it into the database properly.  Look up these
values using test_oid.  Restructure the test slightly to use
test_oid_in_path.

Since we care about the object, not how it is named in a particular hash
algorithm, rename it to "huge-object", which is shorter and more
descriptive.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5000-tar-tree.sh
t/t5000/huge-object [moved from t/t5000/19f9c8273ec45a8938e6999cb59b3ff66739902a with 100% similarity]