From 29b37e9781ce1bb04e558c7490d2c29eb1a477e5 Mon Sep 17 00:00:00 2001 From: Lars Hjemli Date: Thu, 26 Jun 2008 10:54:44 +0000 Subject: Merge branch 'master' of git://git.klever.net/patchwork/cgit * 'master' of git://git.klever.net/patchwork/cgit: allow specification of directly linked blobs mimetypes allow blob extract blobs by head/path combination --- (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 v0.9.0.2