Merge branch 'fh/mimetypes'

This commit is contained in:
Lars Hjemli 2012-03-18 21:01:28 +00:00
commit ae90a0b2d1
4 changed files with 65 additions and 1 deletions

2
cgit.c
View file

@ -241,6 +241,8 @@ void config_cb(const char *name, const char *value)
ctx.cfg.ssdiff = atoi(value);
else if (!strcmp(name, "agefile"))
ctx.cfg.agefile = xstrdup(value);
else if (!strcmp(name, "mimetype-file"))
ctx.cfg.mimetype_file = xstrdup(value);
else if (!strcmp(name, "renamelimit"))
ctx.cfg.renamelimit = atoi(value);
else if (!strcmp(name, "remove-suffix"))