Code

Merge branch 'tr/maint-1.6.3-add-p-modeonly-fix' into maint-1.6.3
[git.git] / t / t3701-add-interactive.sh
index 63940b18934d8fe71110a5a9edc60a7ee09c5f91..62fd65e18d434711176ddb1c22ef057b879e992a 100755 (executable)
@@ -176,6 +176,12 @@ test_expect_success FILEMODE 'stage mode and hunk' '
 
 # end of tests disabled when filemode is not usable
 
+test_expect_success 'setup again' '
+       git reset --hard &&
+       test_chmod +x file &&
+       echo content >>file
+'
+
 # Write the patch file with a new line at the top and bottom
 cat >patch <<EOF
 index 180b47c..b6f2c08 100644