>> +test_expect_success 'move file/sparse-checkout/merge should not delete moved file' ' >> + git rm -rf . && >> + git clean -fdqx && >> + rm -rf .git && >> + git init && > > Yuck. This is inherited from existing tests but I think they need > to be cleaned up. It is not your fault, and it is not in the scope > of this change. It's part need for cleanup repository from the previous case.