diff options
author | Lars Hjemli <hjemli@gmail.com> | 2009-08-09 15:22:00 +0400 |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2009-08-09 15:22:00 +0400 |
commit | e976df27952ca1e450c1c3d420532ac9f5e3036b (patch) | |
tree | 2634538f3144c935d1579315d4de289e6c890f19 /shared.c | |
parent | f35db1cd2b75aac6952aa07713e44ca01fd89727 (diff) |
Add support for repo.commit-filter and repo.source-filter
These options can be used to override the default commit- and source-
filter settings per repository.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'shared.c')
-rw-r--r-- | shared.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; } |