-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_repodesc_len = 60; int cgit_max_commit_count = 50; @@ -120,2 +121,4 @@ void cgit_global_config_cb(const char *name, const char *value) cgit_max_msg_len = atoi(value); + else if (!strcmp(name, "max-repodesc-length")) + cgit_max_repodesc_len = atoi(value); else if (!strcmp(name, "max-commit-count")) |