]> git.ipfire.org Git - thirdparty/git.git/commit - t/t5325-reverse-index.sh
t: prepare for GIT_TEST_WRITE_REV_INDEX
authorTaylor Blau <me@ttaylorr.com>
Mon, 25 Jan 2021 23:37:38 +0000 (18:37 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 26 Jan 2021 02:32:44 +0000 (18:32 -0800)
commit35a8a3547a841b031b14cd759cf53996bca89baf
tree40b84bc7730e04a91485dcde8a1528cc8b2bee8e
parent1615c567b8cf65725f4aee5206ad5a04273794dd
t: prepare for GIT_TEST_WRITE_REV_INDEX

In the next patch, we'll add support for unconditionally enabling the
'pack.writeReverseIndex' setting with a new GIT_TEST_WRITE_REV_INDEX
environment variable.

This causes a little bit of fallout with tests that, for example,
compare the list of files in the pack directory being unprepared to see
.rev files in its output.

Those locations can be cleaned up to look for specific file extensions,
rather than take everything in the pack directory (for instance) and
then grep out unwanted items.

Once the pack.writeReverseIndex option has been thoroughly
tested, we will default it to 'true', removing GIT_TEST_WRITE_REV_INDEX,
and making it possible to revert this patch.

Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5319-multi-pack-index.sh
t/t5325-reverse-index.sh
t/t5604-clone-reference.sh
t/t5702-protocol-v2.sh
t/t6500-gc.sh
t/t9300-fast-import.sh