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>
This commit is contained in:
2
shared.c
2
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;
|
||||
}
|
||||
|
||||
|
مرجع در شماره جدید
Block a user