neocgit

a more 'modern' version of cgit
Log | Files | Refs | Submodules | README | LICENSE | git clone https://git.ne02ptzero.me/git/neocgit

commit 61245ad18545ab09b22e9fcce5e49d5d36bf8176
parent 521dc7a4bf4af6115ffc3a94d447689bbaa22272
Author: Lars Hjemli <hjemli@gmail.com>
Date:   Sat, 16 Dec 2006 13:43:01 +0100

Add cache-root option to /cgit/rc

Somehow, this option was forgotten when parsing the configfile.

Add it.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>

Diffstat:
Mshared.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/shared.c b/shared.c @@ -57,6 +57,8 @@ void cgit_global_config_cb(const char *name, const char *value) cgit_virtual_root = xstrdup(value); else if (!strcmp(name, "nocache")) cgit_nocache = atoi(value); + else if (!strcmp(name, "cache-root")) + cgit_cache_root = xstrdup(value); } void cgit_repo_config_cb(const char *name, const char *value)