diff options
author | Patrick Steinhardt <ps@pks.im> | 2023-12-29 08:26:56 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-01-02 18:24:48 +0100 |
commit | 58aaf59133b4167aefaab6083e80deb369894f79 (patch) | |
tree | 54813c5ed98f5d846fcc53191f3ab839fd429c49 /t/README | |
parent | setup: introduce GIT_DEFAULT_REF_FORMAT envvar (diff) | |
download | git-58aaf59133b4167aefaab6083e80deb369894f79.tar.xz git-58aaf59133b4167aefaab6083e80deb369894f79.zip |
t: introduce GIT_TEST_DEFAULT_REF_FORMAT envvar
Introduce a new GIT_TEST_DEFAULT_REF_FORMAT environment variable that
lets developers run the test suite with a different default ref format
without impacting the ref format used by non-test Git invocations. This
is modeled after GIT_TEST_DEFAULT_OBJECT_FORMAT, which does the same
thing for the repository's object format.
Adapt the setup of the `REFFILES` test prerequisite to be conditionally
set based on the default ref format.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/README')
-rw-r--r-- | t/README | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -479,6 +479,9 @@ GIT_TEST_DEFAULT_HASH=<hash-algo> specifies which hash algorithm to use in the test scripts. Recognized values for <hash-algo> are "sha1" and "sha256". +GIT_TEST_DEFAULT_REF_FORMAT=<format> specifies which ref storage format +to use in the test scripts. Recognized values for <format> are "files". + GIT_TEST_NO_WRITE_REV_INDEX=<boolean>, when true disables the 'pack.writeReverseIndex' setting. |