diff options
author | Lars Hjemli | 2009-08-09 13:22:00 +0200 |
---|---|---|
committer | Lars Hjemli | 2009-08-09 13:22:00 +0200 |
commit | e976df27952ca1e450c1c3d420532ac9f5e3036b (patch) | |
tree | 2634538f3144c935d1579315d4de289e6c890f19 /shared.c | |
parent | f35db1cd2b75aac6952aa07713e44ca01fd89727 (diff) | |
download | cgit-e976df27952ca1e450c1c3d420532ac9f5e3036b.tar.gz cgit-e976df27952ca1e450c1c3d420532ac9f5e3036b.tar.bz2 cgit-e976df27952ca1e450c1c3d420532ac9f5e3036b.zip |
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) | |||
62 | ret->module_link = ctx.cfg.module_link; | 62 | ret->module_link = ctx.cfg.module_link; |
63 | ret->readme = NULL; | 63 | ret->readme = NULL; |
64 | ret->mtime = -1; | 64 | ret->mtime = -1; |
65 | ret->commit_filter = ctx.cfg.commit_filter; | ||
66 | ret->source_filter = ctx.cfg.source_filter; | ||
65 | return ret; | 67 | return ret; |
66 | } | 68 | } |
67 | 69 | ||