about summary refs log tree commit diff
path: root/shared.c
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2010-09-19 18:43:58 +0200
committerLars Hjemli <hjemli@gmail.com>2010-09-19 18:43:58 +0200
commite76a1ea427792aaa331cdec70d7d4ff1fb3422e0 (patch)
treefaeee0c46a2d470b29b46481f74070557e3fdb8d /shared.c
parentUse GIT-1.7.3 (diff)
parentAdd support for "readme" option (diff)
downloadcgit-pink-e76a1ea427792aaa331cdec70d7d4ff1fb3422e0.tar.gz
cgit-pink-e76a1ea427792aaa331cdec70d7d4ff1fb3422e0.zip
Merge branch 'lh/readme'
Diffstat (limited to 'shared.c')
-rw-r--r--shared.c2
1 files changed, 1 insertions, 1 deletions
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;