aboutsummaryrefslogtreecommitdiffstats
path: root/shared.c
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2010-02-27 13:12:55 +0100
committerLars Hjemli <hjemli@gmail.com>2010-02-27 13:12:55 +0100
commit581a0c2a5428917d42cbfb2b4673a2d2ebceb7d0 (patch)
treeed8ba775c729ea391209066aea9e58ed70ed1a5c /shared.c
parentdisplay subject instead of sha1 as link title of parents (diff)
downloadcgit-581a0c2a5428917d42cbfb2b4673a2d2ebceb7d0.tar.xz
cgit-581a0c2a5428917d42cbfb2b4673a2d2ebceb7d0.zip
Optionally generate verbose parent links
The new option 'enable-subject-links' must be used to enable the verbose parent-links in commit view. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'shared.c')
-rw-r--r--shared.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shared.c b/shared.c
index 5f46793..83ded44 100644
--- a/shared.c
+++ b/shared.c
@@ -60,6 +60,7 @@ struct cgit_repo *cgit_add_repo(const char *url)
ret->enable_log_filecount = ctx.cfg.enable_log_filecount;
ret->enable_log_linecount = ctx.cfg.enable_log_linecount;
ret->enable_remote_branches = ctx.cfg.enable_remote_branches;
+ 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;