aboutsummaryrefslogtreecommitdiffstats
path: root/cgit.c
diff options
context:
space:
mode:
authorLars Hjemli2009-08-24 07:42:03 +0200
committerLars Hjemli2009-08-24 10:22:58 +0200
commite01229cf80bc618a132d2154c0ebd71792d31c64 (patch)
tree62aa3f02166f7f4b6cdf866a4916b53921ed3ecf /cgit.c
parent74061ed5f03e72796450aa3b8ca1cf6ced5d59e2 (diff)
downloadcgit-e01229cf80bc618a132d2154c0ebd71792d31c64.tar.gz
cgit-e01229cf80bc618a132d2154c0ebd71792d31c64.tar.bz2
cgit-e01229cf80bc618a132d2154c0ebd71792d31c64.zip
ui-repolist: handle empty sections similar to NULL sections
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'cgit.c')
-rw-r--r--cgit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cgit.c b/cgit.c
index e281aa9..167b5dd 100644
--- a/cgit.c
+++ b/cgit.c
@@ -269,6 +269,7 @@ static void prepare_context(struct cgit_context *ctx)
269 ctx->cfg.root_title = "Git repository browser"; 269 ctx->cfg.root_title = "Git repository browser";
270 ctx->cfg.root_desc = "a fast webinterface for the git dscm"; 270 ctx->cfg.root_desc = "a fast webinterface for the git dscm";
271 ctx->cfg.script_name = CGIT_SCRIPT_NAME; 271 ctx->cfg.script_name = CGIT_SCRIPT_NAME;
272 ctx->cfg.section = "";
272 ctx->cfg.summary_branches = 10; 273 ctx->cfg.summary_branches = 10;
273 ctx->cfg.summary_log = 10; 274 ctx->cfg.summary_log = 10;
274 ctx->cfg.summary_tags = 10; 275 ctx->cfg.summary_tags = 10;