Diff options
Diffstat (limited to 'source/shared.c')
| -rw-r--r-- | source/shared.c | 2 |
1 file changed, 2 insertions, 0 deletions
diff --git a/source/shared.c b/source/shared.c index 1e1bb26..1cfe4b0 100644 --- a/source/shared.c +++ b/source/shared.c @@ -37,6 +37,8 @@ struct cgit_repo *cgit_add_repo(const char *url) } repo->name = repo->url; repo->desc = cgit_default_repo_desc; + // A cached scan keeps these copies, so build_scan_key in cgit.c has to + // name every setting copied here. repo->section = ctx.cfg.section; repo->snapshots = ctx.cfg.snapshots; repo->enable_blame = ctx.cfg.enable_blame; |
