From: Mikhail Filippov Date: Mon, 12 Sep 2016 11:07:05 GMT Subject: Re: [PATCH] Do not record unstaged deleted file upon recursive merge if file was moved outside of working tree with enabled sparse-checkout. Message-ID: <1843881473678425@web17m.yandex.ru> In-Reply-To: >> +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.