Skip to content

Commit ec58367

Browse files
committed
fix history cache handling
1 parent dba270a commit ec58367

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -449,9 +449,20 @@ public String toString() {
449449
stringBuilder.append(",");
450450

451451
if (!isHistoryEnabled()) {
452+
stringBuilder.append("history=off");
453+
} else {
454+
stringBuilder.append("history=on");
455+
}
456+
457+
stringBuilder.append(",");
458+
if (!isHistoryCacheEnabled()) {
452459
stringBuilder.append("historyCache=off");
453460
} else {
454461
stringBuilder.append("historyCache=on,");
462+
}
463+
464+
if (isHandleRenamedFiles()) {
465+
stringBuilder.append(",");
455466
stringBuilder.append("renamed=");
456467
stringBuilder.append(this.isHandleRenamedFiles());
457468
}

0 commit comments

Comments
 (0)