do not overwrite files in leading path
[gitweb.git] / t / t7607-merge-overwrite.sh
index f8e8ff0b6fcc078ae5c683d858a82e154f442427..d4a499dee2ec3daabdba75eb6185778567204b0b 100755 (executable)
@@ -100,7 +100,7 @@ test_expect_success 'will not overwrite untracked subtree' '
        test_cmp important sub/f/important
 '
 
-test_expect_failure 'will not overwrite untracked file in leading path' '
+test_expect_success 'will not overwrite untracked file in leading path' '
        git reset --hard c0 &&
        rm -rf sub &&
        cp important sub &&