X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/93a2c3305190ca87cc1a6c98868c251ef67c3f37..71ba7187e5eeeaf2f66bc27bc3b48a2014d37bb7:/cgit.c 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) fprintf(f, "repo.snapshots=%s\n", tmp ? tmp : ""); free(tmp); } + if (repo->snapshot_prefix) + fprintf(f, "repo.snapshot-prefix=%s\n", repo->snapshot_prefix); if (repo->max_stats != ctx.cfg.max_stats) fprintf(f, "repo.max-stats=%s\n", cgit_find_stats_periodname(repo->max_stats));