We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5d1dbd commit 1622327Copy full SHA for 1622327
opengrok-indexer/src/main/java/org/opengrok/indexer/history/GitRepository.java
@@ -708,7 +708,7 @@ private org.eclipse.jgit.lib.Repository getJGitRepository(String directory) thro
708
parentAbsPath = gitDirValue.substring(0, dotGitIndex - 1);
709
} else {
710
File parent = new File(directory, gitDirValue.substring(0, dotGitIndex + Constants.DOT_GIT.length()));
711
- parentAbsPath = parent.getAbsolutePath();
+ parentAbsPath = parent.getCanonicalPath();
712
int indexDotGitParent = parentAbsPath.indexOf(File.separator + Constants.DOT_GIT);
713
if (indexDotGitParent == -1) {
714
return null;
0 commit comments