about summary refs log tree commit diff
path: root/cgit.c
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2012-01-03 16:06:58 +0000
committerLars Hjemli <hjemli@gmail.com>2012-01-03 16:06:58 +0000
commit04254fa903701943bd45a479a952cc213a5b112a (patch)
tree5ae865f0cae8505cb54d3360baa256fc684e3bbc /cgit.c
parentshared.c: Only setenv() if value is non-null (diff)
parentFix diff mode switching when side-by-side-diffs=1 (diff)
downloadcgit-pink-04254fa903701943bd45a479a952cc213a5b112a.tar.gz
cgit-pink-04254fa903701943bd45a479a952cc213a5b112a.zip
Merge branch 'stable'
Diffstat (limited to '')
-rw-r--r--cgit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cgit.c b/cgit.c
index b7807ad..1d50129 100644
--- a/cgit.c
+++ b/cgit.c
@@ -298,6 +298,7 @@ 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);
+		ctx.qry.has_ssdiff = 1;
 	} else if (!strcmp(name, "all")) {
 		ctx.qry.show_all = atoi(value);
 	} else if (!strcmp(name, "context")) {