about summary refs log tree commit diff
path: root/cgit.h
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2019-02-26 17:08:31 +0100
committerChristian Hesse <mail@eworm.de>2019-06-25 21:40:59 +0200
commite1ad15d368bdeb1bffea588b93a29055c5dfb7f4 (patch)
tree8659155ec7bfd675237036a1093de23c0f78a021 /cgit.h
parenttests: successfully validate rc versions (diff)
downloadcgit-pink-e1ad15d368bdeb1bffea588b93a29055c5dfb7f4.tar.gz
cgit-pink-e1ad15d368bdeb1bffea588b93a29055c5dfb7f4.zip
ui-tree: allow per repository override for enable-blame
The blame operation can cause high cost in terms of CPU load for huge
repositories. Let's add a per repository override for enable-blame.

Signed-off-by: Christian Hesse <mail@eworm.de>
Diffstat (limited to '')
-rw-r--r--cgit.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cgit.h b/cgit.h
index bcc4fce..7ec46b4 100644
--- a/cgit.h
+++ b/cgit.h
@@ -94,6 +94,7 @@ struct cgit_repo {
 	char *logo_link;
 	char *snapshot_prefix;
 	int snapshots;
+	int enable_blame;
 	int enable_commit_graph;
 	int enable_log_filecount;
 	int enable_log_linecount;