Skip to content

Commit d3f17e1

Browse files
peffgitster
authored andcommitted
t0410: disable GIT_TEST_MULTI_PACK_INDEX_WRITE_BITMAP
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent c51f5a6 commit d3f17e1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

t/t0410-partial-clone.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ test_description='partial clone'
44

55
. ./test-lib.sh
66

7+
# missing promisor objects cause repacks which write bitmaps to fail
8+
GIT_TEST_MULTI_PACK_INDEX_WRITE_BITMAP=0
9+
710
delete_object () {
811
rm $1/.git/objects/$(echo $2 | sed -e 's|^..|&/|')
912
}

0 commit comments

Comments
 (0)