|
diff --git a/cgit.c b/cgit.c index b3a98c1..cb1149d 100644 --- a/ cgit.c+++ b/ cgit.c |
|
@@ -91,4 +91,6 @@ void config_cb(const char *name, const char *value) |
91 | else if (!strcmp(name, "cache-dynamic-ttl")) |
91 | else if (!strcmp(name, "cache-dynamic-ttl")) |
92 | ctx.cfg.cache_dynamic_ttl = atoi(value); |
92 | ctx.cfg.cache_dynamic_ttl = atoi(value); |
| |
93 | else if (!strcmp(name, "about-filter")) |
| |
94 | ctx.cfg.about_filter = new_filter(value, 0); |
93 | else if (!strcmp(name, "commit-filter")) |
95 | else if (!strcmp(name, "commit-filter")) |
94 | ctx.cfg.commit_filter = new_filter(value, 0); |
96 | ctx.cfg.commit_filter = new_filter(value, 0); |
@@ -147,4 +149,6 @@ void config_cb(const char *name, const char *value) |
147 | else if (ctx.repo && !strcmp(name, "repo.module-link")) |
149 | else if (ctx.repo && !strcmp(name, "repo.module-link")) |
148 | ctx.repo->module_link= xstrdup(value); |
150 | ctx.repo->module_link= xstrdup(value); |
| |
151 | else if (ctx.repo && !strcmp(name, "repo.about-filter")) |
| |
152 | ctx.repo->about_filter = new_filter(value, 0); |
149 | else if (ctx.repo && !strcmp(name, "repo.commit-filter")) |
153 | else if (ctx.repo && !strcmp(name, "repo.commit-filter")) |
150 | ctx.repo->commit_filter = new_filter(value, 0); |
154 | ctx.repo->commit_filter = new_filter(value, 0); |
|