From 2a5c1abeeaa1c46363cea1acf81dcd8f29415c5e Mon Sep 17 00:00:00 2001 From: lookshe Date: Thu, 14 Jan 2016 23:26:34 +0100 Subject: set ignore whitespace as default --- cgit.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cgit.c b/cgit.c index 7f83a2d..1c68cb0 100644 --- a/cgit.c +++ b/cgit.c @@ -345,6 +345,7 @@ static void querystring_cb(const char *name, const char *value) static void prepare_context(void) { memset(&ctx, 0, sizeof(ctx)); + ctx.qry.ignorews = 1; ctx.cfg.agefile = "info/web/last-modified"; ctx.cfg.nocache = 0; ctx.cfg.cache_size = 0; -- cgit v1.2.3