X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/023d933121ca7352a069f3886caf6fbe958ba27d..37a24e4e39737edaa5cdde501346a65eeb280e63:/shared.c diff --git a/shared.c b/shared.c index 83b71e6..58837dc 100644 --- a/shared.c +++ b/shared.c @@ -10,7 +10,6 @@ struct cgit_repolist cgit_repolist; struct cgit_context ctx; -int cgit_cmd; int chk_zero(int result, char *msg) { @@ -60,6 +59,7 @@ struct cgit_repo *cgit_add_repo(const char *url) ret->enable_log_filecount = ctx.cfg.enable_log_filecount; ret->enable_log_linecount = ctx.cfg.enable_log_linecount; ret->enable_remote_branches = ctx.cfg.enable_remote_branches; + ret->enable_subject_links = ctx.cfg.enable_subject_links; ret->max_stats = ctx.cfg.max_stats; ret->module_link = ctx.cfg.module_link; ret->readme = NULL;