mirror of
https://git.zx2c4.com/cgit
synced 2025-08-30 14:39:34 +02:00
Add 'about-filter' and 'repo.about-filter' options
These options can be used to execute a filter command on each about-page, both top-level and for each repository (repo.about-filter can be used to override the current about-filter). Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
parent
e1782fff8a
commit
537c05f138
6 changed files with 28 additions and 2 deletions
1
shared.c
1
shared.c
|
@ -62,6 +62,7 @@ struct cgit_repo *cgit_add_repo(const char *url)
|
|||
ret->module_link = ctx.cfg.module_link;
|
||||
ret->readme = NULL;
|
||||
ret->mtime = -1;
|
||||
ret->about_filter = ctx.cfg.about_filter;
|
||||
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