git repository client should return the work tree as working copy instead of .git directory

This commit is contained in:
Sebastian Sdorra
2017-06-06 10:41:36 +02:00
parent 05c2ffbecf
commit 6eb480fe84

View File

@@ -191,7 +191,7 @@ public class GitRepositoryClientProvider extends RepositoryClientProvider
@Override
public File getWorkingCopy() {
return git.getRepository().getDirectory();
return git.getRepository().getWorkTree();
}
//~--- fields ---------------------------------------------------------------