karalabe / srcbox

Source code inside Dropbox

Home Page:http://github.com/karalabe/srcbox/wiki

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GitBox reports success even after a failed clone

karalabe opened this issue · comments

If the destination folder exists before cloning, git terminates (which is ok); but GitBox still reports a successful clone.

$ mkdir testrepo
$ touch testrepo/whatever
$ gitbox create testrepo
$ gitbox clone testrepo
Cloning repository...
fatal: destination path 'testrepo' already exists and is not an empty directory.
Repository successfully cloned.

Win version fixed, unix to go.

Linux/OSX done too.