Community
Participate
Working Groups
Copied from http://egit.eclipse.org/r/#change,3518: In msysgit, when I try to clone into a folder that already contains a cloned repository it will fail with a message "fatal: destination path 'folder' already exists and is not an empty directory.". I would expect JGit to throw an exception with a similar message in that case.
Created attachment 199027 [details] Screen shot indicating that non-empty traget directory is rejected
A non-empty target directory seems to be rejected in EGit on ui-level (see https://bugs.eclipse.org/bugs/attachment.cgi?id=199027). Still there should be an additional check in JGit on command-level.
merged as 172a9f05216394f243805844b446cc357dd6b943