From fc9181ff3d3ebbe0159871f6a49438e60bb17f58 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Wed, 11 Jul 2012 05:32:45 +0200 Subject: scan-tree: Support gitweb.category. Use gitweb.category from git config to determine repo's section, if option is enabled. --- cgit.c | 1 + 1 file changed, 1 insertion(+) (limited to 'cgit.c') diff --git a/cgit.c b/cgit.c index ec5bbce..4656ed6 100644 --- a/cgit.c +++ b/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; -- cgit v1.2.3-54-g00ecf