mirror of
https://git.zx2c4.com/cgit
synced 2025-07-13 19:54:31 +02:00
scan-tree: Support gitweb.category.
Use gitweb.category from git config to determine repo's section, if option is enabled.
This commit is contained in:
parent
b56be4ba3a
commit
fc9181ff3d
4 changed files with 14 additions and 0 deletions
1
cgit.c
1
cgit.c
|
@ -340,6 +340,7 @@ static void prepare_context(struct cgit_context *ctx)
|
|||
ctx->cfg.local_time = 0;
|
||||
ctx->cfg.enable_gitweb_desc = 1;
|
||||
ctx->cfg.enable_gitweb_owner = 1;
|
||||
ctx->cfg.enable_gitweb_section = 1;
|
||||
ctx->cfg.enable_http_clone = 1;
|
||||
ctx->cfg.enable_tree_linenumbers = 1;
|
||||
ctx->cfg.max_repo_count = 50;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue