summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2016-10-26 13:14:50 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-10-26 13:14:50 -0700
commit78498729e4523d5ee32508262cc70d7a41097bc8 (patch)
treeb2ab7e37a0bec99f90c28b3cfff674357669f7b6
parentMerge branch 'bw/submodule-branch-dot-doc' (diff)
parentt3700: fix broken test under !SANITY (diff)
downloadtgif-78498729e4523d5ee32508262cc70d7a41097bc8.tar.xz
Merge branch 'tg/add-chmod+x-fix'
A hot-fix for a test added by a recent topic that went to both 'master' and 'maint' already. * tg/add-chmod+x-fix: t3700: fix broken test under !SANITY
-rwxr-xr-xt/t3700-add.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/t3700-add.sh b/t/t3700-add.sh
index 924a266126..53c0cb6dea 100755
--- a/t/t3700-add.sh
+++ b/t/t3700-add.sh
@@ -350,6 +350,7 @@ test_expect_success POSIXPERM,SYMLINKS 'git add --chmod=+x with symlinks' '
'
test_expect_success 'git add --chmod=[+-]x changes index with already added file' '
+ rm -f foo3 xfoo3 &&
echo foo >foo3 &&
git add foo3 &&
git add --chmod=+x foo3 &&