diff options
author | Taylor Blau <me@ttaylorr.com> | 2021-01-26 02:37:42 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-01-26 05:32:44 +0300 |
commit | e8c58f894b4d5369779e06ff7dc03fb0706c930a (patch) | |
tree | e039d1739994d302430097b9616b998cdae64ee9 /pack-revindex.h | |
parent | 35a8a3547a841b031b14cd759cf53996bca89baf (diff) |
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>
Diffstat (limited to 'pack-revindex.h')
-rw-r--r-- | pack-revindex.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pack-revindex.h b/pack-revindex.h index 61b2f3ab75..d1a0595e89 100644 --- a/pack-revindex.h +++ b/pack-revindex.h @@ -16,9 +16,12 @@ * can be found */ + #define RIDX_SIGNATURE 0x52494458 /* "RIDX" */ #define RIDX_VERSION 1 +#define GIT_TEST_WRITE_REV_INDEX "GIT_TEST_WRITE_REV_INDEX" + struct packed_git; /* |