summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2016-10-28 09:01:19 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-10-28 09:01:19 -0700
commitdce97d6ec73cdb1011589f7260e602a87088939b (patch)
treed9bfb9d077afc3529dbc6867a3d018f9c8517b1a
parentMerge branch 'bw/submodule-branch-dot-doc' into maint (diff)
parentt3700: fix broken test under !SANITY (diff)
downloadtgif-dce97d6ec73cdb1011589f7260e602a87088939b.tar.xz
Merge branch 'tg/add-chmod+x-fix' into maint
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 &&