From 515edb0da3b9156e07e269621d7474cdea82acaf Mon Sep 17 00:00:00 2001 From: Lars Hjemli Date: Sat, 21 Aug 2010 15:08:01 +0200 Subject: Add support for "readme" option The value of this option is used as the default value for repo.readme. Signed-off-by: Lars Hjemli --- shared.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shared.c') diff --git a/shared.c b/shared.c index b42c2a2..72ac140 100644 --- a/shared.c +++ b/shared.c @@ -62,7 +62,7 @@ struct cgit_repo *cgit_add_repo(const char *url) ret->enable_subject_links = ctx.cfg.enable_subject_links; ret->max_stats = ctx.cfg.max_stats; ret->module_link = ctx.cfg.module_link; - ret->readme = NULL; + ret->readme = ctx.cfg.readme; ret->mtime = -1; ret->about_filter = ctx.cfg.about_filter; ret->commit_filter = ctx.cfg.commit_filter; -- cgit v1.2.3-70-g09d2