diff options
author | Lars Hjemli <hjemli@gmail.com> | 2012-01-03 16:06:58 +0000 |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2012-01-03 16:06:58 +0000 |
commit | 04254fa903701943bd45a479a952cc213a5b112a (patch) | |
tree | 5ae865f0cae8505cb54d3360baa256fc684e3bbc /cgit.c | |
parent | shared.c: Only setenv() if value is non-null (diff) | |
parent | Fix diff mode switching when side-by-side-diffs=1 (diff) | |
download | cgit-pink-04254fa903701943bd45a479a952cc213a5b112a.tar.gz cgit-pink-04254fa903701943bd45a479a952cc213a5b112a.zip |
Merge branch 'stable'
Diffstat (limited to '')
-rw-r--r-- | cgit.c | 1 |
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")) { |