mirror of
https://git.zx2c4.com/cgit
synced 2025-06-26 03:38:39 +02:00
Merge branch 'fh/mimetypes'
This commit is contained in:
commit
ae90a0b2d1
4 changed files with 65 additions and 1 deletions
2
cgit.c
2
cgit.c
|
@ -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"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue