diff options
Diffstat (limited to 'shared.c')
-rw-r--r-- | shared.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -34,6 +34,7 @@ int cgit_cache_repo_ttl = 5; | |||
34 | int cgit_cache_dynamic_ttl = 5; | 34 | int cgit_cache_dynamic_ttl = 5; |
35 | int cgit_cache_static_ttl = -1; | 35 | int cgit_cache_static_ttl = -1; |
36 | int cgit_cache_max_create_time = 5; | 36 | int cgit_cache_max_create_time = 5; |
37 | int cgit_summary_log = 0; | ||
37 | 38 | ||
38 | int cgit_max_msg_len = 60; | 39 | int cgit_max_msg_len = 60; |
39 | int cgit_max_repodesc_len = 60; | 40 | int cgit_max_repodesc_len = 60; |
@@ -164,6 +165,8 @@ void cgit_global_config_cb(const char *name, const char *value) | |||
164 | cgit_max_repodesc_len = atoi(value); | 165 | cgit_max_repodesc_len = atoi(value); |
165 | else if (!strcmp(name, "max-commit-count")) | 166 | else if (!strcmp(name, "max-commit-count")) |
166 | cgit_max_commit_count = atoi(value); | 167 | cgit_max_commit_count = atoi(value); |
168 | else if (!strcmp(name, "summary-log")) | ||
169 | cgit_summary_log = atoi(value); | ||
167 | else if (!strcmp(name, "agefile")) | 170 | else if (!strcmp(name, "agefile")) |
168 | cgit_agefile = xstrdup(value); | 171 | cgit_agefile = xstrdup(value); |
169 | else if (!strcmp(name, "repo.group")) | 172 | else if (!strcmp(name, "repo.group")) |