diff options
author | Lars Hjemli <hjemli@gmail.com> | 2009-08-09 13:27:21 +0200 |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2009-08-09 13:41:54 +0200 |
commit | 537c05f138d59c1eb3ac8e2d8b0dca3a38aa5dd4 (patch) | |
tree | 73b1d25a96dd171c5503fae1fefc6a27a7d58683 /shared.c | |
parent | e1782fff8a78b7f265432603351281ad2988bb40 (diff) | |
download | cgit-537c05f138d59c1eb3ac8e2d8b0dca3a38aa5dd4.tar.gz cgit-537c05f138d59c1eb3ac8e2d8b0dca3a38aa5dd4.tar.bz2 cgit-537c05f138d59c1eb3ac8e2d8b0dca3a38aa5dd4.zip |
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>
Diffstat (limited to '')
-rw-r--r-- | shared.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |