diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2012-07-11 12:32:45 (JST) |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2012-07-13 03:01:46 (JST) |
commit | fc9181ff3d3ebbe0159871f6a49438e60bb17f58 (patch) | |
tree | a2b619e91112c9e8aaf03623a20f8e5c1aa36797 /cgit.c | |
parent | b56be4ba3a942dd1978fe4bfecd9afc35aab0027 (diff) | |
download | cgit-fc9181ff3d3ebbe0159871f6a49438e60bb17f58.zip cgit-fc9181ff3d3ebbe0159871f6a49438e60bb17f58.tar.gz |
scan-tree: Support gitweb.category.
Use gitweb.category from git config to determine repo's section, if
option is enabled.
Diffstat (limited to 'cgit.c')
-rw-r--r-- | cgit.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -340,6 +340,7 @@ static void prepare_context(struct cgit_context *ctx) | |||
340 | ctx->cfg.local_time = 0; | 340 | ctx->cfg.local_time = 0; |
341 | ctx->cfg.enable_gitweb_desc = 1; | 341 | ctx->cfg.enable_gitweb_desc = 1; |
342 | ctx->cfg.enable_gitweb_owner = 1; | 342 | ctx->cfg.enable_gitweb_owner = 1; |
343 | ctx->cfg.enable_gitweb_section = 1; | ||
343 | ctx->cfg.enable_http_clone = 1; | 344 | ctx->cfg.enable_http_clone = 1; |
344 | ctx->cfg.enable_tree_linenumbers = 1; | 345 | ctx->cfg.enable_tree_linenumbers = 1; |
345 | ctx->cfg.max_repo_count = 50; | 346 | ctx->cfg.max_repo_count = 50; |