]> gitweb.ps.run Git - ps-cgit/blobdiff - shared.c
cgit.c: allow repo.*-filter options to unset the current default
[ps-cgit] / shared.c
index 288cfa22b4888ee8b773188089d2ecc496714f94..783604beba81510f4e155c6de8edced39c8ac3df 100644 (file)
--- a/shared.c
+++ b/shared.c
@@ -62,6 +62,8 @@ struct cgit_repo *cgit_add_repo(const char *url)
        ret->module_link = ctx.cfg.module_link;
        ret->readme = NULL;
        ret->mtime = -1;
+       ret->commit_filter = ctx.cfg.commit_filter;
+       ret->source_filter = ctx.cfg.source_filter;
        return ret;
 }