]> gitweb.ps.run Git - ps-cgit/blobdiff - cgit.c
ui-repolist: handle empty sections similar to NULL sections
[ps-cgit] / cgit.c
diff --git a/cgit.c b/cgit.c
index e281aa9e224aca176db47ae4ddd4cdc7d9422b64..167b5dd312ed3a63a6334224387b52e27b233461 100644 (file)
--- a/cgit.c
+++ b/cgit.c
@@ -269,6 +269,7 @@ static void prepare_context(struct cgit_context *ctx)
        ctx->cfg.root_title = "Git repository browser";
        ctx->cfg.root_desc = "a fast webinterface for the git dscm";
        ctx->cfg.script_name = CGIT_SCRIPT_NAME;
+       ctx->cfg.section = "";
        ctx->cfg.summary_branches = 10;
        ctx->cfg.summary_log = 10;
        ctx->cfg.summary_tags = 10;