Skip to content

Commit d0c3221

Browse files
committed
actually return false on non-working repository
1 parent 9502e0d commit d0c3221

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

opengrok-indexer/src/main/java/org/opengrok/indexer/history/HistoryGuru.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -514,6 +514,7 @@ public boolean hasAnnotation(File file) {
514514
if (!repo.isWorking()) {
515515
LOGGER.log(Level.FINEST, "repository {0} for ''{1}'' is not working to check annotation presence",
516516
new Object[]{repo, file});
517+
return false;
517518
}
518519

519520
return repo.fileHasAnnotation(file);

0 commit comments

Comments
 (0)