]> gitweb.ps.run Git - ps-cgit/blobdiff - cgit.c
scan-tree: Support gitweb.category.
[ps-cgit] / cgit.c
diff --git a/cgit.c b/cgit.c
index ec5bbce1e45a766f34cf6f579c247adb6b3d7139..4656ed66e6fb7932e439e5957972de3368d4c922 100644 (file)
--- 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;