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 556b17c commit 930fd0aCopy full SHA for 930fd0a
opengrok-indexer/src/main/java/org/opengrok/indexer/history/GitRepository.java
@@ -690,7 +690,8 @@ private org.eclipse.jgit.lib.Repository getJGitRepository(String directory) thro
690
throw new IOException("cannot get gitDir value from " + dotGitFile);
691
}
692
693
- // If the gitDir value is relative path, make it absolute. This is necessary for the
+ // If the gitDir value is relative path, make it absolute.
694
+ // This is necessary for the JGit Repository construction.
695
File gitDirFile = new File(gitDirValue);
696
if (!gitDirFile.isAbsolute()) {
697
gitDirFile = new File(directory, gitDirValue);
0 commit comments