diff options
Diffstat (limited to 'cgit.c')
-rw-r--r-- | cgit.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -163,6 +163,8 @@ void config_cb(const char *name, const char *value) | |||
163 | ctx.cfg.snapshots = cgit_parse_snapshots_mask(value); | 163 | ctx.cfg.snapshots = cgit_parse_snapshots_mask(value); |
164 | else if (!strcmp(name, "enable-filter-overrides")) | 164 | else if (!strcmp(name, "enable-filter-overrides")) |
165 | ctx.cfg.enable_filter_overrides = atoi(value); | 165 | ctx.cfg.enable_filter_overrides = atoi(value); |
166 | else if (!strcmp(name, "enable-gitweb-desc")) | ||
167 | ctx.cfg.enable_gitweb_desc = atoi(value); | ||
166 | else if (!strcmp(name, "enable-gitweb-owner")) | 168 | else if (!strcmp(name, "enable-gitweb-owner")) |
167 | ctx.cfg.enable_gitweb_owner = atoi(value); | 169 | ctx.cfg.enable_gitweb_owner = atoi(value); |
168 | else if (!strcmp(name, "enable-http-clone")) | 170 | else if (!strcmp(name, "enable-http-clone")) |
@@ -336,6 +338,7 @@ static void prepare_context(struct cgit_context *ctx) | |||
336 | ctx->cfg.css = "/cgit.css"; | 338 | ctx->cfg.css = "/cgit.css"; |
337 | ctx->cfg.logo = "/cgit.png"; | 339 | ctx->cfg.logo = "/cgit.png"; |
338 | ctx->cfg.local_time = 0; | 340 | ctx->cfg.local_time = 0; |
341 | ctx->cfg.enable_gitweb_desc = 1; | ||
339 | ctx->cfg.enable_gitweb_owner = 1; | 342 | ctx->cfg.enable_gitweb_owner = 1; |
340 | ctx->cfg.enable_http_clone = 1; | 343 | ctx->cfg.enable_http_clone = 1; |
341 | ctx->cfg.enable_tree_linenumbers = 1; | 344 | ctx->cfg.enable_tree_linenumbers = 1; |