Unidiff1 files changed, 4 insertions, 0 deletions
|
diff --git a/cgit.c b/cgit.c index 4f68a4b..e46c00a 100644 --- a/ cgit.c+++ b/ cgit.c |
|
@@ -62,2 +62,4 @@ void repo_config(struct cgit_repo *repo, const char *name, const char *value) |
62 | repo->enable_log_linecount = ctx.cfg.enable_log_linecount * atoi(value); |
62 | repo->enable_log_linecount = ctx.cfg.enable_log_linecount * atoi(value); |
| |
63 | else if (!strcmp(name, "enable-remote-branches")) |
| |
64 | repo->enable_remote_branches = atoi(value); |
63 | else if (!strcmp(name, "max-stats")) |
65 | else if (!strcmp(name, "max-stats")) |
@@ -139,2 +141,4 @@ void config_cb(const char *name, const char *value) |
139 | ctx.cfg.enable_log_linecount = atoi(value); |
141 | ctx.cfg.enable_log_linecount = atoi(value); |
| |
142 | else if (!strcmp(name, "enable-remote-branches")) |
| |
143 | ctx.cfg.enable_remote_branches = atoi(value); |
140 | else if (!strcmp(name, "enable-tree-linenumbers")) |
144 | else if (!strcmp(name, "enable-tree-linenumbers")) |
|