Website Summary Files Commits Branches @commit @diff @stats
path: root / cgit.c
diff options
context:
space:
mode:
Commitae90a0b2d18d66e7b1cb98b2e34fd697f8b5311a (patch)
Author
 Lars Hjemli <hjemli@gmail.com>
2012-03-18 21:01:28 +0000
Committer
 Lars Hjemli <hjemli@gmail.com>
2012-03-18 21:01:28 +0000
Files0a2dd27e9d527914019026a9860c93c879b35cd7 /cgit.c
cgit-ae90a0b2d18d66e7b1cb98b2e34fd697f8b5311a.tar
cgit-ae90a0b2d18d66e7b1cb98b2e34fd697f8b5311a.tar.gz
cgit-ae90a0b2d18d66e7b1cb98b2e34fd697f8b5311a.zip
Parent181b6e789b79fc385e5ec75b2b83f01192d54051 (diff)
Parentd01c600c179593a53162a9d4e3040ecfc5078fdc (diff)
Merge branch 'fh/mimetypes'
1 files changed, 2 insertions, 0 deletions
-rw-r--r--cgit.c2
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"))