|
diff --git a/cgit.c b/cgit.c index dbec196..7b228af 100644 --- a/ cgit.c+++ b/ cgit.c |
|
@@ -100,6 +100,8 @@ void config_cb(const char *name, const char *value) |
100 | ctx.cfg.cache_static_ttl = atoi(value); |
100 | ctx.cfg.cache_static_ttl = atoi(value); |
101 | else if (!strcmp(name, "cache-dynamic-ttl")) |
101 | else if (!strcmp(name, "cache-dynamic-ttl")) |
102 | ctx.cfg.cache_dynamic_ttl = atoi(value); |
102 | ctx.cfg.cache_dynamic_ttl = atoi(value); |
| |
103 | else if (!strcmp(name, "about-filter")) |
| |
104 | ctx.cfg.about_filter = new_filter(value, 0); |
103 | else if (!strcmp(name, "commit-filter")) |
105 | else if (!strcmp(name, "commit-filter")) |
104 | ctx.cfg.commit_filter = new_filter(value, 0); |
106 | ctx.cfg.commit_filter = new_filter(value, 0); |
105 | else if (!strcmp(name, "embedded")) |
107 | else if (!strcmp(name, "embedded")) |
@@ -158,6 +160,8 @@ void config_cb(const char *name, const char *value) |
158 | ctx.repo->max_stats = cgit_find_stats_period(value, NULL); |
160 | ctx.repo->max_stats = cgit_find_stats_period(value, NULL); |
159 | else if (ctx.repo && !strcmp(name, "repo.module-link")) |
161 | else if (ctx.repo && !strcmp(name, "repo.module-link")) |
160 | ctx.repo->module_link= xstrdup(value); |
162 | ctx.repo->module_link= xstrdup(value); |
| |
163 | else if (ctx.repo && !strcmp(name, "repo.about-filter")) |
| |
164 | ctx.repo->about_filter = new_filter(value, 0); |
161 | else if (ctx.repo && !strcmp(name, "repo.commit-filter")) |
165 | else if (ctx.repo && !strcmp(name, "repo.commit-filter")) |
162 | ctx.repo->commit_filter = new_filter(value, 0); |
166 | ctx.repo->commit_filter = new_filter(value, 0); |
163 | else if (ctx.repo && !strcmp(name, "repo.source-filter")) |
167 | else if (ctx.repo && !strcmp(name, "repo.source-filter")) |
|