Re: git-clone removes destination path after permission deny

2018-08-16 Thread Jonathan Nieder
Hi, Agis wrote: > On 16 Aug 2018, at 15:08, Agis wrote: >>$ mkdir foo >>$ git clone g...@github.com:agis/private.git foo >>Cloning into 'foo'... >>Permission denied (publickey). >>fatal: Could not read from remote repository. [...] >>$ ls foo >>ls: cannot access 'foo'

Re: git-clone removes destination path after permission deny

2018-08-16 Thread Agis
Nevermind, this is does not happen in 2.18.0. Apparently it was fixed somewhere between 2.11 and 2.18. > On 16 Aug 2018, at 15:08, Agis wrote: > > Hello. > > I've recently observed the following: > >$ mkdir foo >$ # try to clone from a repository that you have no access to >$ git

git-clone removes destination path after permission deny

2018-08-16 Thread Agis
Hello. I've recently observed the following: $ mkdir foo $ # try to clone from a repository that you have no access to $ git clone g...@github.com:agis/private.git foo Cloning into 'foo'... Permission denied (publickey). fatal: Could not read from remote repository. P