diff options
author | Lars Hjemli <hjemli@gmail.com> | 2012-03-19 06:01:28 (JST) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2012-03-19 06:01:28 (JST) |
commit | ae90a0b2d18d66e7b1cb98b2e34fd697f8b5311a (patch) | |
tree | 0a2dd27e9d527914019026a9860c93c879b35cd7 /cgit.c | |
parent | 181b6e789b79fc385e5ec75b2b83f01192d54051 (diff) | |
parent | d01c600c179593a53162a9d4e3040ecfc5078fdc (diff) | |
download | cgit-ae90a0b2d18d66e7b1cb98b2e34fd697f8b5311a.zip cgit-ae90a0b2d18d66e7b1cb98b2e34fd697f8b5311a.tar.gz |
Merge branch 'fh/mimetypes'
Diffstat (limited to 'cgit.c')
-rw-r--r-- | cgit.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -241,6 +241,8 @@ void config_cb(const char *name, const char *value) | |||
241 | ctx.cfg.ssdiff = atoi(value); | 241 | ctx.cfg.ssdiff = atoi(value); |
242 | else if (!strcmp(name, "agefile")) | 242 | else if (!strcmp(name, "agefile")) |
243 | ctx.cfg.agefile = xstrdup(value); | 243 | ctx.cfg.agefile = xstrdup(value); |
244 | else if (!strcmp(name, "mimetype-file")) | ||
245 | ctx.cfg.mimetype_file = xstrdup(value); | ||
244 | else if (!strcmp(name, "renamelimit")) | 246 | else if (!strcmp(name, "renamelimit")) |
245 | ctx.cfg.renamelimit = atoi(value); | 247 | ctx.cfg.renamelimit = atoi(value); |
246 | else if (!strcmp(name, "remove-suffix")) | 248 | else if (!strcmp(name, "remove-suffix")) |