Unidiff1 files changed, 3 insertions, 0 deletions
|
diff --git a/cgit.c b/cgit.c index ccd61f4..2036ceb 100644 --- a/ cgit.c+++ b/ cgit.c |
|
@@ -67,2 +67,4 @@ void config_cb(const char *name, const char *value) |
67 | ctx.cfg.max_repodesc_len = atoi(value); |
67 | ctx.cfg.max_repodesc_len = atoi(value); |
| |
68 | else if (!strcmp(name, "max-repo-count")) |
| |
69 | ctx.cfg.max_repo_count = atoi(value); |
68 | else if (!strcmp(name, "max-commit-count")) |
70 | else if (!strcmp(name, "max-commit-count")) |
@@ -161,2 +163,3 @@ static void prepare_context(struct cgit_context *ctx) |
161 | ctx->cfg.logo = "/git-logo.png"; |
163 | ctx->cfg.logo = "/git-logo.png"; |
| |
164 | ctx->cfg.max_repo_count = 50; |
162 | ctx->cfg.max_commit_count = 50; |
165 | ctx->cfg.max_commit_count = 50; |
|