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 9317173 commit 3a664a5Copy full SHA for 3a664a5
opengrok-indexer/src/main/java/org/opengrok/indexer/history/GitRepository.java
@@ -685,8 +685,8 @@ private org.eclipse.jgit.lib.Repository getJGitRepository(String directory) thro
685
}
686
687
// Assume this is a sub-module so dotGitFile is a file.
688
- String gitDirValue;
689
- if ((gitDirValue = getGitDirValue(dotGitFile)) == null) {
+ String gitDirValue = getGitDirValue(dotGitFile);
+ if (gitDirValue == null) {
690
throw new IOException("cannot get gitDir value from " + dotGitFile);
691
692
0 commit comments