From 537c05f138d59c1eb3ac8e2d8b0dca3a38aa5dd4 Mon Sep 17 00:00:00 2001 From: Lars Hjemli Date: Sun, 9 Aug 2009 13:27:21 +0200 Subject: 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 --- cgit.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cgit.h') diff --git a/cgit.h b/cgit.h index f10ba05..b8f4850 100644 --- a/cgit.h +++ b/cgit.h @@ -73,6 +73,7 @@ struct cgit_repo { int enable_log_linecount; int max_stats; time_t mtime; + struct cgit_filter *about_filter; struct cgit_filter *commit_filter; struct cgit_filter *source_filter; }; @@ -185,6 +186,7 @@ struct cgit_config { int summary_branches; int summary_log; int summary_tags; + struct cgit_filter *about_filter; struct cgit_filter *commit_filter; struct cgit_filter *source_filter; }; -- cgit v1.2.3-59-g8ed1b