The release note that you cited says that the previous behavior was
erroneous. There is nothing about deleting the folder in the man page [1]

1 https://git-scm.com/docs/git-clone#git-clone-ltdirectorygt

El mié., 9 de may. de 2018 a la(s) 02:10, <[email protected]> escribió:

> Dear git experts,
>
> Recently we try to upgrade ubuntu from 17.10 to 18.04, then we found one
> inconsistent behavior on git clone.
>
> At 2.14.1 or 2.15.1, if I run command like
>  - mkdir /tmp/111
>  - git clone [email protected]:111/111 /tmp/111
>
> because it will failure, then /tmp/111 will be removed automatically.
>
> However, at latest 2.17.0 which is part of ubuntu 18.04, seems like git
> clone failure will not auto remove this folder. I notice 2.16.2 and 2.17.0
> release note includes this fix. So just wonder to know if prior behavior
> was think of bug, and this fix has change the behavior.
>
>  * "git clone $there $here" is allowed even when here directory exists
>    as long as it is an empty directory, but the command incorrectly
>    removed it upon a failure of the operation.
>
> Thanks & Regards
> Leslie Wang
>
> --
> You received this message because you are subscribed to the Google Groups
> "Git for human beings" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to