mirror of
https://git.zx2c4.com/cgit
synced 2025-07-02 14:24:33 +02:00
ui-repolist: handle empty sections similar to NULL sections
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
parent
74061ed5f0
commit
e01229cf80
2 changed files with 12 additions and 7 deletions
1
cgit.c
1
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue