On Tue, Aug 18, 2020 at 02:46:55PM -0300, Matheus Tavares wrote: > This if statement never evaluates to true since we already check > state->force a few lines above, and immediately return when it is > false. Yep. Looks like this was unreachable even when it was added back in d48a72f337 (Fix replacing of a directory with a file/symlink in git-checkout-cache, 2005-07-14). -Peff