]> git.ipfire.org Git - thirdparty/git.git/commitdiff
t0410: disable GIT_TEST_MULTI_PACK_INDEX_WRITE_BITMAP
authorJeff King <peff@peff.net>
Tue, 31 Aug 2021 20:52:33 +0000 (16:52 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 1 Sep 2021 20:56:43 +0000 (13:56 -0700)
Generating a MIDX bitmap causes tests which repack in a partial clone to
fail because they are missing objects. Missing objects is an expected
component of tests in t0410, so disable this knob altogether. Graceful
degradation when writing a bitmap with missing objects is tested in
t5326.

Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t0410-partial-clone.sh

index bbcc51ee8e66b40ba866f878f0ec7664402528c0..bba679685f68cfcd9f75ab41f48603f07315e1f9 100755 (executable)
@@ -4,6 +4,9 @@ test_description='partial clone'
 
 . ./test-lib.sh
 
+# missing promisor objects cause repacks which write bitmaps to fail
+GIT_TEST_MULTI_PACK_INDEX_WRITE_BITMAP=0
+
 delete_object () {
        rm $1/.git/objects/$(echo $2 | sed -e 's|^..|&/|')
 }