]> gitweb.ps.run Git - ps-cgit/blobdiff - shared.c
Add a 'stats' page to each repo
[ps-cgit] / shared.c
index f5875e4273d55d6380dedd3310ebac08a9b636d7..37333f0a4018b89c80d8a064c42e7965794ee8d2 100644 (file)
--- a/shared.c
+++ b/shared.c
@@ -58,6 +58,7 @@ struct cgit_repo *cgit_add_repo(const char *url)
        ret->snapshots = ctx.cfg.snapshots;
        ret->enable_log_filecount = ctx.cfg.enable_log_filecount;
        ret->enable_log_linecount = ctx.cfg.enable_log_linecount;
+       ret->enable_stats = ctx.cfg.enable_stats;
        ret->module_link = ctx.cfg.module_link;
        ret->readme = NULL;
        return ret;