mirror of
https://git.zx2c4.com/cgit
synced 2025-08-03 09:34:43 +02:00
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:
parent
f35db1cd2b
commit
e976df2795
6 changed files with 35 additions and 21 deletions
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue