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 0b6ba3e commit 9317173Copy full SHA for 9317173
opengrok-indexer/src/main/java/org/opengrok/indexer/history/GitRepository.java
@@ -404,7 +404,7 @@ public boolean fileHasHistory(File file) {
404
@Override
405
boolean isRepositoryFor(File file, CommandTimeoutType cmdType) {
406
if (file.isDirectory()) {
407
- File f = new File(file, ".git");
+ File f = new File(file, Constants.DOT_GIT);
408
// No check for directory or file as submodules contain '.git' file.
409
return f.exists();
410
}
0 commit comments