Re: Bug report: git clone with dest
- Date: Wed, 3 Jan 2018 17:28:21 -0500
- From: Jeff King <peff@xxxxxxxx>
- Subject: Re: Bug report: git clone with dest
On Wed, Jan 03, 2018 at 12:59:48PM -0800, Isaac Shabtay wrote:
> Target directory is deleted on clone failures.
> Steps to reproduce, for example on Windows:
> cd /d %TEMP%
> mkdir dest
> git clone https://some-fake-url/whatever-makes-git-clone-fail dest
> Of course, the clone will fail as it should. But looks like the Git
> client also ends up deleting the "dest" directory.
Interesting. AFAICT Git has behaved this way for almost 9 years, and now
we have two reports in two days. Serendipity, or did something else
Anyway, you might be interested in the patch series I posted yesterday: