diff options
author | Christian Hesse | 2019-02-26 17:08:31 +0100 |
---|---|---|
committer | Christian Hesse | 2019-06-25 21:40:59 +0200 |
commit | e1ad15d368bdeb1bffea588b93a29055c5dfb7f4 (patch) | |
tree | 8659155ec7bfd675237036a1093de23c0f78a021 /shared.c | |
parent | 27a6d69ab38825602bdbd5a5d0161e465326ea8d (diff) | |
download | cgit-e1ad15d368bdeb1bffea588b93a29055c5dfb7f4.tar.gz cgit-e1ad15d368bdeb1bffea588b93a29055c5dfb7f4.tar.bz2 cgit-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 'shared.c')
-rw-r--r-- | shared.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -58,6 +58,7 @@ struct cgit_repo *cgit_add_repo(const char *url) | |||
58 | ret->homepage = NULL; | 58 | ret->homepage = NULL; |
59 | ret->section = ctx.cfg.section; | 59 | ret->section = ctx.cfg.section; |
60 | ret->snapshots = ctx.cfg.snapshots; | 60 | ret->snapshots = ctx.cfg.snapshots; |
61 | ret->enable_blame = ctx.cfg.enable_blame; | ||
61 | ret->enable_commit_graph = ctx.cfg.enable_commit_graph; | 62 | ret->enable_commit_graph = ctx.cfg.enable_commit_graph; |
62 | ret->enable_log_filecount = ctx.cfg.enable_log_filecount; | 63 | ret->enable_log_filecount = ctx.cfg.enable_log_filecount; |
63 | ret->enable_log_linecount = ctx.cfg.enable_log_linecount; | 64 | ret->enable_log_linecount = ctx.cfg.enable_log_linecount; |