diff options
author | Jeff King <peff@peff.net> | 2021-08-31 23:52:33 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-09-01 23:56:43 +0300 |
commit | d3f17e17238806d5b1547632b61b44ed7b1f9453 (patch) | |
tree | 9f50aae2112f1be9c2a5b35e0ab8505cdd9a40b3 /t/t0410-partial-clone.sh | |
parent | c51f5a6437c62c5b231a4632896becd545c7e620 (diff) |
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 <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t0410-partial-clone.sh')
-rwxr-xr-x | t/t0410-partial-clone.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/t/t0410-partial-clone.sh b/t/t0410-partial-clone.sh index bbcc51ee8e..bba679685f 100755 --- a/t/t0410-partial-clone.sh +++ b/t/t0410-partial-clone.sh @@ -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|^..|&/|') } |