From 42effc939090b2fbf1b2b76cd1d9c30fabcd230e Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Tue, 24 Jun 2008 23:42:32 +0200 Subject: allow specification of directly linked blobs mimetypes Signed-off-by: Michael Krelin --- cgit.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cgit.c') diff --git a/cgit.c b/cgit.c index ac882c3..0deae12 100644 --- a/cgit.c +++ b/cgit.c @@ -144,6 +144,8 @@ static void querystring_cb(const char *name, const char *value) ctx.qry.path = trim_end(value, '/'); } else if (!strcmp(name, "name")) { ctx.qry.name = xstrdup(value); + } else if (!strcmp(name, "mimetype")) { + ctx.qry.mimetype = xstrdup(value); } } -- cgit v1.2.3