X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft2021-checkout-overwrite.sh;h=5da63e9fa267af4517024307f4bdeef73caeccf2;hb=2f3e3f573d635c26ce26ff61f8f6c97ce88da79c;hp=27db2ad52981f9070a8742f400e3ec26919749b1;hpb=1030536153db404daba4a140d1e3fa1a7ba470a5;p=git.git diff --git a/t/t2021-checkout-overwrite.sh b/t/t2021-checkout-overwrite.sh index 27db2ad52..5da63e9fa 100755 --- a/t/t2021-checkout-overwrite.sh +++ b/t/t2021-checkout-overwrite.sh @@ -39,7 +39,7 @@ test_expect_success SYMLINKS 'create a commit where dir a/b changed to symlink' git commit -m "dir to symlink" ' -test_expect_failure SYMLINKS 'checkout commit with dir must not remove untracked a/b' ' +test_expect_success SYMLINKS 'checkout commit with dir must not remove untracked a/b' ' git rm --cached a/b && git commit -m "un-track the symlink" &&