]> git.ipfire.org Git - thirdparty/git.git/commit - pack-revindex.h
t: support GIT_TEST_WRITE_REV_INDEX
authorTaylor Blau <me@ttaylorr.com>
Mon, 25 Jan 2021 23:37:42 +0000 (18:37 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 26 Jan 2021 02:32:44 +0000 (18:32 -0800)
commite8c58f894b4d5369779e06ff7dc03fb0706c930a
treee039d1739994d302430097b9616b998cdae64ee9
parent35a8a3547a841b031b14cd759cf53996bca89baf
t: support GIT_TEST_WRITE_REV_INDEX

Add a new option that unconditionally enables the pack.writeReverseIndex
setting in order to run the whole test suite in a mode that generates
on-disk reverse indexes. Additionally, enable this mode in the second
run of tests under linux-gcc in 'ci/run-build-and-tests.sh'.

Once on-disk reverse indexes are proven out over several releases, we
can change the default value of that configuration to 'true', and drop
this patch.

Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/index-pack.c
builtin/pack-objects.c
ci/run-build-and-tests.sh
pack-revindex.h
t/README