-rw-r--r-- | shared.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -32,2 +32,3 @@ int cgit_cache_max_create_time = 5; int cgit_max_msg_len = 60; +int cgit_max_commit_count = 50; @@ -122,2 +123,4 @@ void cgit_global_config_cb(const char *name, const char *value) cgit_max_msg_len = atoi(value); + else if (!strcmp(name, "max-commit-count")) + cgit_max_commit_count = atoi(value); else if (!strcmp(name, "repo.url")) |