'
test_expect_success 'scalar clone' '
+ # index.skipHash (Scalar default) and GIT_TEST_SPLIT_INDEX are
+ # incompatible: the shared index gets a null OID and fails to
+ # load on re-read.
+ sane_unset GIT_TEST_SPLIT_INDEX &&
second=$(git rev-parse --verify second:second.t) &&
scalar clone "file://$(pwd)" cloned --single-branch &&
(
'
test_expect_success 'scalar clone --no-... opts' '
+ sane_unset GIT_TEST_SPLIT_INDEX &&
# Note: redirect stderr always to avoid having a verbose test
# run result in a difference in the --[no-]progress option.
GIT_TRACE2_EVENT="$(pwd)/no-opt-trace" scalar clone \
SQ="'"
test_expect_success UNZIP 'scalar diagnose' '
+ sane_unset GIT_TEST_SPLIT_INDEX &&
scalar clone "file://$(pwd)" cloned --single-branch &&
git repack &&
echo "$(pwd)/.git/objects/" >>cloned/src/.git/objects/info/alternates &&
GIT_TEST_MAINT_SCHEDULER="crontab:test-tool crontab cron.txt,launchctl:true,schtasks:true"
export GIT_TEST_MAINT_SCHEDULER
+# index.skipHash (Scalar default) and GIT_TEST_SPLIT_INDEX are
+# incompatible: the shared index gets a null OID and fails to
+# load on re-read. Every test here uses scalar clone.
+sane_unset GIT_TEST_SPLIT_INDEX
+
test_expect_success 'set up repository to clone' '
rm -rf .git &&
git init to-clone &&