summaryrefslogtreecommitdiff
path: root/t/t2104-update-index-skip-worktree.sh
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2014-06-13 19:19:50 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-06-13 11:49:42 -0700
commit5b0a78c1c0e15e97133784b342384cdefa17f6fc (patch)
tree2fa635b0f1ba3be0af39e9c271ced0009ef81cd2 /t/t2104-update-index-skip-worktree.sh
parentread-cache: force split index mode with GIT_TEST_SPLIT_INDEX (diff)
downloadtgif-5b0a78c1c0e15e97133784b342384cdefa17f6fc.tar.xz
t2104: make sure split index mode is off for the version test
Version tests only make sense when all entries are in the same file, so we can see if version is downgraded to 2 if 3 is not required. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t2104-update-index-skip-worktree.sh')
-rwxr-xr-xt/t2104-update-index-skip-worktree.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/t2104-update-index-skip-worktree.sh b/t/t2104-update-index-skip-worktree.sh
index 29c1fb10ca..cc830da58d 100755
--- a/t/t2104-update-index-skip-worktree.sh
+++ b/t/t2104-update-index-skip-worktree.sh
@@ -7,6 +7,8 @@ test_description='skip-worktree bit test'
. ./test-lib.sh
+sane_unset GIT_TEST_SPLIT_INDEX
+
test_set_index_version 3
cat >expect.full <<EOF