Add all=1 query param for atom feeds

Displays all items from all branches in one feed

Signed-off-by: Aaron Griffin <agriffin@datalogics.com>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Tá an tiomantas seo le fáil i:
Aaron Griffin
2010-02-03 18:31:17 -06:00
tiomanta ag Lars Hjemli
tuismitheoir ff3a3b4e2b
tiomantas 65ced7c009
D'athraigh 3 comhad le 6 breiseanna agus 1 scriosta

2
cgit.c
Féach ar an gComhad

@@ -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);
}
}