Skip to content

Commit eb6e956

Browse files
peffgitster
authored andcommitted
t5310: disable GIT_TEST_MULTI_PACK_INDEX_WRITE_BITMAP
Generating a MIDX bitmap confuses many of the tests in t5310, which expect to control whether and how bitmaps are written. Since the relevant MIDX-bitmap tests here are covered already in t5326, let's just disable the flag for the whole t5310 script. Signed-off-by: Jeff King <[email protected]> Signed-off-by: Taylor Blau <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent d3f17e1 commit eb6e956

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

t/t5310-pack-bitmaps.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
88
. "$TEST_DIRECTORY"/lib-bundle.sh
99
. "$TEST_DIRECTORY"/lib-bitmap.sh
1010

11+
# t5310 deals only with single-pack bitmaps, so don't write MIDX bitmaps in
12+
# their place.
13+
GIT_TEST_MULTI_PACK_INDEX_WRITE_BITMAP=0
14+
1115
objpath () {
1216
echo ".git/objects/$(echo "$1" | sed -e 's|\(..\)|\1/|')"
1317
}

0 commit comments

Comments
 (0)