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 701fae2 commit 3ebb073Copy full SHA for 3ebb073
opengrok-indexer/src/main/java/org/opengrok/indexer/history/HistoryGuru.java
@@ -747,7 +747,8 @@ public void ensureHistoryCacheExists(File file) throws HistoryException {
747
return;
748
}
749
750
- if (historyCache.hasCacheForDirectory(file, repository)) {
+ if (!repository.hasHistoryForDirectories() ||
751
+ historyCache.hasCacheForDirectory(file, repository)) {
752
753
754
0 commit comments