diff options
author | lookshe <github@lookshe.org> | 2016-01-14 23:26:34 +0100 |
---|---|---|
committer | lookshe <github@lookshe.org> | 2016-01-14 23:26:34 +0100 |
commit | 2a5c1abeeaa1c46363cea1acf81dcd8f29415c5e (patch) | |
tree | 4fc475488696c1b46068f37224be9fff973069f1 | |
parent | 87dca2dd53804808f2ac46873b8eead2bd948f67 (diff) |
set ignore whitespace as default
-rw-r--r-- | cgit.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |