]> gitweb.ps.run Git - ps-cgit/blobdiff - cgit.c
Merge branch 'fh/mimetypes'
[ps-cgit] / cgit.c
diff --git a/cgit.c b/cgit.c
index 6a75f2706ff0c711e8c3f38ae20d3be867b858bd..b9b3a668b9755de93311b1700d8a79cfc31f754a 100644 (file)
--- 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"))