diff options
-rw-r--r-- | cgit.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cgit.c b/cgit.c index 1ec02e7..3299936 100644 --- a/cgit.c +++ b/cgit.c | |||
@@ -75,11 +75,11 @@ void repo_config(struct cgit_repo *repo, const char *name, const char *value) | |||
75 | else if (!strcmp(name, "snapshots")) | 75 | else if (!strcmp(name, "snapshots")) |
76 | repo->snapshots = ctx.cfg.snapshots & cgit_parse_snapshots_mask(value); | 76 | repo->snapshots = ctx.cfg.snapshots & cgit_parse_snapshots_mask(value); |
77 | else if (!strcmp(name, "enable-commit-graph")) | 77 | else if (!strcmp(name, "enable-commit-graph")) |
78 | repo->enable_commit_graph = ctx.cfg.enable_commit_graph * atoi(value); | 78 | repo->enable_commit_graph = atoi(value); |
79 | else if (!strcmp(name, "enable-log-filecount")) | 79 | else if (!strcmp(name, "enable-log-filecount")) |
80 | repo->enable_log_filecount = ctx.cfg.enable_log_filecount * atoi(value); | 80 | repo->enable_log_filecount = atoi(value); |
81 | else if (!strcmp(name, "enable-log-linecount")) | 81 | else if (!strcmp(name, "enable-log-linecount")) |
82 | repo->enable_log_linecount = ctx.cfg.enable_log_linecount * atoi(value); | 82 | repo->enable_log_linecount = atoi(value); |
83 | else if (!strcmp(name, "enable-remote-branches")) | 83 | else if (!strcmp(name, "enable-remote-branches")) |
84 | repo->enable_remote_branches = atoi(value); | 84 | repo->enable_remote_branches = atoi(value); |
85 | else if (!strcmp(name, "enable-subject-links")) | 85 | else if (!strcmp(name, "enable-subject-links")) |