Browse Source
BaseRepositoryBuilder.findGitDir() was not searching correctly for bare repositories. E.g. when running org.eclipse.jgit.pgm.Log and the current directory was that of a bare git repository an error "fatal: error: can't find git directory" was raised. With this fix RepositoryBuilder will also check whether the given directory is the root of a bare repository. Bug: 450193 Change-Id: I4d4ad42e24ca397745adb0f3385caee3bcf3a186 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>stable-3.6
Christian Halstrick
10 years ago
committed by
Matthias Sohn
1 changed files with 5 additions and 1 deletions
Loading…
Reference in new issue