aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlookshe <github@lookshe.org>2016-01-14 23:26:34 +0100
committerlookshe <github@lookshe.org>2016-01-14 23:26:34 +0100
commit2a5c1abeeaa1c46363cea1acf81dcd8f29415c5e (patch)
tree4fc475488696c1b46068f37224be9fff973069f1
parent87dca2dd53804808f2ac46873b8eead2bd948f67 (diff)
set ignore whitespace as default
-rw-r--r--cgit.c1
1 files changed, 1 insertions, 0 deletions
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;