Re: [PATCH v2 4/5] read-cache: update TEST_GIT_INDEX_VERSION support

2018-09-14 Thread Junio C Hamano
Junio C Hamano writes: > Ben Peart writes: > >> diff --git a/t/test-lib.sh b/t/test-lib.sh >> index 653688c067..397eb71578 100644 >> --- a/t/test-lib.sh >> +++ b/t/test-lib.sh >> @@ -134,9 +134,9 @@ export EDITOR >> GIT_TRACE_BARE=1 >> export GIT_TRACE_BARE >> >> -if test -n

Re: [PATCH v2 4/5] read-cache: update TEST_GIT_INDEX_VERSION support

2018-09-14 Thread Junio C Hamano
Ben Peart writes: > diff --git a/t/test-lib.sh b/t/test-lib.sh > index 653688c067..397eb71578 100644 > --- a/t/test-lib.sh > +++ b/t/test-lib.sh > @@ -134,9 +134,9 @@ export EDITOR > GIT_TRACE_BARE=1 > export GIT_TRACE_BARE > > -if test -n "${TEST_GIT_INDEX_VERSION:+isset}" > +if test -n

[PATCH v2 4/5] read-cache: update TEST_GIT_INDEX_VERSION support

2018-09-14 Thread Ben Peart
Rename TEST_GIT_INDEX_VERSION to GIT_TEST_INDEX_VERSION for consistency with the other GIT_TEST_ special setups and properly document its use. Add logic in t/test-lib.sh to give a warning when the old variable is set to let people know they need to update their environment to use the new