aboutsummaryrefslogtreecommitdiffstats
path: root/ui-repolist.c
diff options
context:
space:
mode:
authorFerry Huberts2011-03-23 11:57:42 +0100
committerLars Hjemli2011-03-26 11:03:42 +0100
commitd87bba846d368e560193a1f75de6d66bffe986cf (patch)
treeec74dbc35f2b0dfb5e5ef494bb27bcc097f4e922 /ui-repolist.c
parent9240a828d13fa8f6a9e379b94b2061ca83e6199c (diff)
downloadcgit-d87bba846d368e560193a1f75de6d66bffe986cf.tar.gz
cgit-d87bba846d368e560193a1f75de6d66bffe986cf.tar.bz2
cgit-d87bba846d368e560193a1f75de6d66bffe986cf.zip
cgit_open_filter: also take the repo as a parameter
To prepare for handing repo configuration to the filter script that is executed. Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl> Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'ui-repolist.c')
-rw-r--r--ui-repolist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-repolist.c b/ui-repolist.c
index 2c98668..05b4548 100644
--- a/ui-repolist.c
+++ b/ui-repolist.c
@@ -291,7 +291,7 @@ void cgit_print_site_readme()
291 if (!ctx.cfg.root_readme) 291 if (!ctx.cfg.root_readme)
292 return; 292 return;
293 if (ctx.cfg.about_filter) 293 if (ctx.cfg.about_filter)
294 cgit_open_filter(ctx.cfg.about_filter); 294 cgit_open_filter(ctx.cfg.about_filter, NULL);
295 html_include(ctx.cfg.root_readme); 295 html_include(ctx.cfg.root_readme);
296 if (ctx.cfg.about_filter) 296 if (ctx.cfg.about_filter)
297 cgit_close_filter(ctx.cfg.about_filter); 297 cgit_close_filter(ctx.cfg.about_filter);