Skip to content

Commit 9963eea

Browse files
edigaryevVladimir Kotal
authored andcommitted
Actually skip history cache creation when history is disabled for project
1 parent 8d0cf9b commit 9963eea

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
@@ -562,6 +562,7 @@ private void createCache(Repository repository, String sinceRevision) {
562562
LOGGER.log(Level.INFO,
563563
"Skipping history cache creation of {0} repository in {1} and its subdirectories",
564564
new Object[]{type, path});
565+
return;
565566
}
566567

567568
if (repository.isWorking()) {

0 commit comments

Comments
 (0)