summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2017-08-22 10:29:07 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-08-22 10:29:07 -0700
commit5498d6961efdd32665b012d48a7fb8d1554c1643 (patch)
treea8a8001250be9f5af79cd8c0595330dbd9a8085b /t
parentMerge branch 'jc/perl-git-comment-typofix' (diff)
parentt3700: fix broken test under !POSIXPERM (diff)
downloadtgif-5498d6961efdd32665b012d48a7fb8d1554c1643.tar.xz
Merge branch 'rs/t3700-clean-leftover'
A test fix. * rs/t3700-clean-leftover: t3700: fix broken test under !POSIXPERM
Diffstat (limited to 't')
-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 f3a4b4a913..0aae21d698 100755
--- a/t/t3700-add.sh
+++ b/t/t3700-add.sh
@@ -356,6 +356,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 &&
+ git reset --hard &&
echo foo >foo3 &&
git add foo3 &&
git add --chmod=+x foo3 &&