aboutsummaryrefslogtreecommitdiffstats
path: root/cgit.c
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2012-03-18 22:01:28 +0100
committerLars Hjemli <hjemli@gmail.com>2012-03-18 22:01:28 +0100
commitae90a0b2d18d66e7b1cb98b2e34fd697f8b5311a (patch)
tree0a2dd27e9d527914019026a9860c93c879b35cd7 /cgit.c
parent181b6e789b79fc385e5ec75b2b83f01192d54051 (diff)
parentd01c600c179593a53162a9d4e3040ecfc5078fdc (diff)
downloadcgit-ae90a0b2d18d66e7b1cb98b2e34fd697f8b5311a.tar.gz
cgit-ae90a0b2d18d66e7b1cb98b2e34fd697f8b5311a.tar.xz
Merge branch 'fh/mimetypes'
Diffstat (limited to 'cgit.c')
-rw-r--r--cgit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cgit.c b/cgit.c
index 6a75f27..b9b3a66 100644
--- a/cgit.c
+++ b/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"))