]> git.cameronkatri.com Git - cgit.git/blobdiff - cgit.c
Add all=1 query param for atom feeds
[cgit.git] / cgit.c
diff --git a/cgit.c b/cgit.c
index 9305d0a873a191e730d622d14067a2eee56003a6..ed2be64cb55b4751a27c3b4c906cb79df2d66ed2 100644 (file)
--- a/cgit.c
+++ b/cgit.c
@@ -250,6 +250,8 @@ 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, "all")) {
+               ctx.qry.show_all = atoi(value);
        }
 }