about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--cgit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cgit.c b/cgit.c index fda0aa4..6301b87 100644 --- a/cgit.c +++ b/cgit.c
@@ -830,6 +830,8 @@ static void print_repo(FILE *f, struct cgit_repo *repo)
830 fprintf(f, "repo.snapshots=%s\n", tmp ? tmp : ""); 830 fprintf(f, "repo.snapshots=%s\n", tmp ? tmp : "");
831 free(tmp); 831 free(tmp);
832 } 832 }
833 if (repo->snapshot_prefix)
834 fprintf(f, "repo.snapshot-prefix=%s\n", repo->snapshot_prefix);
833 if (repo->max_stats != ctx.cfg.max_stats) 835 if (repo->max_stats != ctx.cfg.max_stats)
834 fprintf(f, "repo.max-stats=%s\n", 836 fprintf(f, "repo.max-stats=%s\n",
835 cgit_find_stats_periodname(repo->max_stats)); 837 cgit_find_stats_periodname(repo->max_stats));