mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-06 13:35:44 +01:00
git repository client should return the work tree as working copy instead of .git directory
This commit is contained in:
@@ -191,7 +191,7 @@ public class GitRepositoryClientProvider extends RepositoryClientProvider
|
||||
|
||||
@Override
|
||||
public File getWorkingCopy() {
|
||||
return git.getRepository().getDirectory();
|
||||
return git.getRepository().getWorkTree();
|
||||
}
|
||||
|
||||
//~--- fields ---------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user