From: Lars Hjemli Date: Sun, 18 Jul 2010 13:03:30 +0000 (+0200) Subject: Merge branch 'jh/ignorews' X-Git-Tag: v0.9~35 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6821d8ea4a64d15b8f284d1af01ab184ef1e76c3;p=cgit Merge branch 'jh/ignorews' --- 6821d8ea4a64d15b8f284d1af01ab184ef1e76c3 diff --cc cgit.c index fde0757,9452884..c263872 --- a/cgit.c +++ b/cgit.c @@@ -256,10 -250,10 +256,12 @@@ static void querystring_cb(const char * ctx.qry.period = xstrdup(value); } else if (!strcmp(name, "ss")) { ctx.qry.ssdiff = atoi(value); + } else if (!strcmp(name, "all")) { + ctx.qry.show_all = atoi(value); } else if (!strcmp(name, "context")) { ctx.qry.context = atoi(value); + } else if (!strcmp(name, "ignorews")) { + ctx.qry.ignorews = atoi(value); } } diff --cc cgit.h index 2bf6ab0,1bdfbc6..e9e2718 --- a/cgit.h +++ b/cgit.h @@@ -146,8 -145,8 +146,9 @@@ struct cgit_query char *sort; int showmsg; int ssdiff; + int show_all; int context; + int ignorews; char *vpath; };