Bug report: git clone with dest
- From
Isaac Shabtay <isaac@shabtay.com>
- Date
- Jan 3, 2018, 20:59 UTC
- Message-ID
- <CAK2k7nSsygwRj_Hhrz7-qXZ8UBB=O+deOeC2FFTkrGmWSUpKqA@mail.gmail.com>
Hello, 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.
This shouldn't happen.