diff options
Diffstat (limited to 'cgit.c')
-rw-r--r-- | cgit.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -491,6 +491,9 @@ void print_repo(FILE *f, struct cgit_repo *repo) | |||
491 | fprintf(f, "repo.snapshots=%s\n", tmp); | 491 | fprintf(f, "repo.snapshots=%s\n", tmp); |
492 | free(tmp); | 492 | free(tmp); |
493 | } | 493 | } |
494 | if (repo->max_stats != ctx.cfg.max_stats) | ||
495 | fprintf(f, "repo.max-stats=%s\n", | ||
496 | cgit_find_stats_periodname(repo->max_stats)); | ||
494 | fprintf(f, "\n"); | 497 | fprintf(f, "\n"); |
495 | } | 498 | } |
496 | 499 | ||