Skip to content

Commit f35a1d7

Browse files
committed
Merge branch 'rs/t3700-clean-leftover' into maint
A test fix. * rs/t3700-clean-leftover: t3700: fix broken test under !POSIXPERM
2 parents 8f3d48e + 57ea241 commit f35a1d7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

t/t3700-add.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,7 @@ test_expect_success POSIXPERM,SYMLINKS 'git add --chmod=+x with symlinks' '
356356

357357
test_expect_success 'git add --chmod=[+-]x changes index with already added file' '
358358
rm -f foo3 xfoo3 &&
359+
git reset --hard &&
359360
echo foo >foo3 &&
360361
git add foo3 &&
361362
git add --chmod=+x foo3 &&

0 commit comments

Comments
 (0)