diff options
Diffstat (limited to 'cgit.c')
-rw-r--r-- | cgit.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -172,6 +172,8 @@ void config_cb(const char *name, const char *value) | |||
172 | ctx.cfg.enable_http_clone = atoi(value); | 172 | ctx.cfg.enable_http_clone = atoi(value); |
173 | else if (!strcmp(name, "enable-index-links")) | 173 | else if (!strcmp(name, "enable-index-links")) |
174 | ctx.cfg.enable_index_links = atoi(value); | 174 | ctx.cfg.enable_index_links = atoi(value); |
175 | else if (!strcmp(name, "enable-index-owner")) | ||
176 | ctx.cfg.enable_index_owner = atoi(value); | ||
175 | else if (!strcmp(name, "enable-commit-graph")) | 177 | else if (!strcmp(name, "enable-commit-graph")) |
176 | ctx.cfg.enable_commit_graph = atoi(value); | 178 | ctx.cfg.enable_commit_graph = atoi(value); |
177 | else if (!strcmp(name, "enable-log-filecount")) | 179 | else if (!strcmp(name, "enable-log-filecount")) |
@@ -354,6 +356,7 @@ static void prepare_context(struct cgit_context *ctx) | |||
354 | ctx->cfg.logo = "/cgit.png"; | 356 | ctx->cfg.logo = "/cgit.png"; |
355 | ctx->cfg.local_time = 0; | 357 | ctx->cfg.local_time = 0; |
356 | ctx->cfg.enable_http_clone = 1; | 358 | ctx->cfg.enable_http_clone = 1; |
359 | ctx->cfg.enable_index_owner = 1; | ||
357 | ctx->cfg.enable_tree_linenumbers = 1; | 360 | ctx->cfg.enable_tree_linenumbers = 1; |
358 | ctx->cfg.enable_git_config = 0; | 361 | ctx->cfg.enable_git_config = 0; |
359 | ctx->cfg.max_repo_count = 50; | 362 | ctx->cfg.max_repo_count = 50; |