|
diff --git a/shared.c b/shared.c index d815cb1..7e5eaba 100644 --- a/ shared.c+++ b/ shared.c |
|
@@ -37,8 +37,9 @@ int cgit_cache_repo_ttl = 5; |
37 | int cgit_cache_dynamic_ttl = 5; |
37 | int cgit_cache_dynamic_ttl = 5; |
38 | int cgit_cache_static_ttl = -1; |
38 | int cgit_cache_static_ttl = -1; |
39 | int cgit_cache_max_create_time = 5; |
39 | int cgit_cache_max_create_time = 5; |
40 | int cgit_summary_log = 0; |
40 | int cgit_summary_log = 0; |
| |
41 | int cgit_summary_tags = 0; |
41 | int cgit_renamelimit = -1; |
42 | int cgit_renamelimit = -1; |
42 | |
43 | |
43 | int cgit_max_msg_len = 60; |
44 | int cgit_max_msg_len = 60; |
44 | int cgit_max_repodesc_len = 60; |
45 | int cgit_max_repodesc_len = 60; |
@@ -180,8 +181,10 @@ void cgit_global_config_cb(const char *name, const char *value) |
180 | else if (!strcmp(name, "max-commit-count")) |
181 | else if (!strcmp(name, "max-commit-count")) |
181 | cgit_max_commit_count = atoi(value); |
182 | cgit_max_commit_count = atoi(value); |
182 | else if (!strcmp(name, "summary-log")) |
183 | else if (!strcmp(name, "summary-log")) |
183 | cgit_summary_log = atoi(value); |
184 | cgit_summary_log = atoi(value); |
| |
185 | else if (!strcmp(name, "summary-tags")) |
| |
186 | cgit_summary_tags = atoi(value); |
184 | else if (!strcmp(name, "agefile")) |
187 | else if (!strcmp(name, "agefile")) |
185 | cgit_agefile = xstrdup(value); |
188 | cgit_agefile = xstrdup(value); |
186 | else if (!strcmp(name, "renamelimit")) |
189 | else if (!strcmp(name, "renamelimit")) |
187 | cgit_renamelimit = atoi(value); |
190 | cgit_renamelimit = atoi(value); |
|