mirror of
https://git.zx2c4.com/cgit
synced 2025-08-28 21:58:18 +02:00
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>
This commit is contained in:
parent
27a6d69ab3
commit
e1ad15d368
6 changed files with 13 additions and 3 deletions
1
shared.c
1
shared.c
|
@ -58,6 +58,7 @@ struct cgit_repo *cgit_add_repo(const char *url)
|
|||
ret->homepage = NULL;
|
||||
ret->section = ctx.cfg.section;
|
||||
ret->snapshots = ctx.cfg.snapshots;
|
||||
ret->enable_blame = ctx.cfg.enable_blame;
|
||||
ret->enable_commit_graph = ctx.cfg.enable_commit_graph;
|
||||
ret->enable_log_filecount = ctx.cfg.enable_log_filecount;
|
||||
ret->enable_log_linecount = ctx.cfg.enable_log_linecount;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue