diff options
-rw-r--r-- | cgit.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/cgit.c b/cgit.c index cefeddf..e2d5edb 100644 --- a/cgit.c +++ b/cgit.c | |||
@@ -170,14 +170,17 @@ static void prepare_context(struct cgit_context *ctx) | |||
170 | ctx->cfg.max_repo_count = 50; | 170 | ctx->cfg.max_repo_count = 50; |
171 | ctx->cfg.max_commit_count = 50; | 171 | ctx->cfg.max_commit_count = 50; |
172 | ctx->cfg.max_lock_attempts = 5; | 172 | ctx->cfg.max_lock_attempts = 5; |
173 | ctx->cfg.max_msg_len = 60; | 173 | ctx->cfg.max_msg_len = 80; |
174 | ctx->cfg.max_repodesc_len = 60; | 174 | ctx->cfg.max_repodesc_len = 80; |
175 | ctx->cfg.module_link = "./?repo=%s&page=commit&id=%s"; | 175 | ctx->cfg.module_link = "./?repo=%s&page=commit&id=%s"; |
176 | ctx->cfg.renamelimit = -1; | 176 | ctx->cfg.renamelimit = -1; |
177 | ctx->cfg.robots = "index, nofollow"; | 177 | ctx->cfg.robots = "index, nofollow"; |
178 | ctx->cfg.root_title = "Git repository browser"; | 178 | ctx->cfg.root_title = "Git repository browser"; |
179 | ctx->cfg.root_desc = "a fast webinterface for the git dscm"; | 179 | ctx->cfg.root_desc = "a fast webinterface for the git dscm"; |
180 | ctx->cfg.script_name = CGIT_SCRIPT_NAME; | 180 | ctx->cfg.script_name = CGIT_SCRIPT_NAME; |
181 | ctx->cfg.summary_branches = 10; | ||
182 | ctx->cfg.summary_log = 10; | ||
183 | ctx->cfg.summary_tags = 10; | ||
181 | ctx->page.mimetype = "text/html"; | 184 | ctx->page.mimetype = "text/html"; |
182 | ctx->page.charset = PAGE_ENCODING; | 185 | ctx->page.charset = PAGE_ENCODING; |
183 | ctx->page.filename = NULL; | 186 | ctx->page.filename = NULL; |