|
diff --git a/shared.c b/shared.c index e3123a8..b6d2fa1 100644 --- a/ shared.c+++ b/ shared.c |
|
@@ -33,8 +33,9 @@ int cgit_cache_root_ttl = 5; |
33 | int cgit_cache_repo_ttl = 5; |
33 | 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; |
40 | int cgit_max_commit_count = 50; |
41 | int cgit_max_commit_count = 50; |
@@ -163,8 +164,10 @@ void cgit_global_config_cb(const char *name, const char *value) |
163 | else if (!strcmp(name, "max-repodesc-length")) |
164 | else if (!strcmp(name, "max-repodesc-length")) |
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")) |
170 | cgit_repo_group = xstrdup(value); |
173 | cgit_repo_group = xstrdup(value); |
|