about summary refs log tree commit diff
path: root/cgit.h
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 /cgit.h
parentdisplay subject instead of sha1 as link title of parents (diff)
downloadcgit-pink-581a0c2a5428917d42cbfb2b4673a2d2ebceb7d0.tar.gz
cgit-pink-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 '')
-rw-r--r--cgit.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cgit.h b/cgit.h
index cd4af72..9b1e3f8 100644
--- a/cgit.h
+++ b/cgit.h
@@ -73,6 +73,7 @@ struct cgit_repo {
 	int enable_log_filecount;
 	int enable_log_linecount;
 	int enable_remote_branches;
+	int enable_subject_links;
 	int max_stats;
 	time_t mtime;
 	struct cgit_filter *about_filter;
@@ -181,6 +182,7 @@ struct cgit_config {
 	int enable_log_filecount;
 	int enable_log_linecount;
 	int enable_remote_branches;
+	int enable_subject_links;
 	int enable_tree_linenumbers;
 	int local_time;
 	int max_repo_count;