X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/0ff143df7043b7dd87c31c50fa875bc96d1a7779..2cc8b99f083014c58d8937bfa4dcd2bc47cd7e58:/cgit.c diff --git a/cgit.c b/cgit.c index 2c3ad73..9452884 100644 --- a/cgit.c +++ b/cgit.c @@ -250,6 +250,10 @@ static void querystring_cb(const char *name, const char *value) ctx.qry.period = xstrdup(value); } else if (!strcmp(name, "ss")) { ctx.qry.ssdiff = atoi(value); + } else if (!strcmp(name, "context")) { + ctx.qry.context = atoi(value); + } else if (!strcmp(name, "ignorews")) { + ctx.qry.ignorews = atoi(value); } }