]> git.ipfire.org Git - thirdparty/git.git/commitdiff
t5319: don't write MIDX bitmaps in t5319
authorTaylor Blau <me@ttaylorr.com>
Tue, 31 Aug 2021 20:52:38 +0000 (16:52 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 1 Sep 2021 20:56:43 +0000 (13:56 -0700)
This test is specifically about generating a midx still respecting a
pack-based bitmap file. Generating a MIDX bitmap would confuse the test.
Let's override the 'GIT_TEST_MULTI_PACK_INDEX_WRITE_BITMAP' variable to
make sure we don't do so.

Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5319-multi-pack-index.sh

index bd09c3194bd123a2b3c246ce291406067c05f98e..bb04f0f23bb6d1b6c581099fd7be22f94c897bc6 100755 (executable)
@@ -532,7 +532,8 @@ test_expect_success 'repack preserves multi-pack-index when creating packs' '
 compare_results_with_midx "after repack"
 
 test_expect_success 'multi-pack-index and pack-bitmap' '
-       git -c repack.writeBitmaps=true repack -ad &&
+       GIT_TEST_MULTI_PACK_INDEX_WRITE_BITMAP=0 \
+               git -c repack.writeBitmaps=true repack -ad &&
        git multi-pack-index write &&
        git rev-list --test-bitmap HEAD
 '