X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/aaa3f7854232726d5530f66b9459e036bbba15cb..eca95229acdc3c7c27fdcc1319f5c96da9e3b538:/ui-atom.c diff --git a/ui-atom.c b/ui-atom.c index 881872c..9331f74 100644 --- a/ui-atom.c +++ b/ui-atom.c @@ -24,7 +24,7 @@ void add_entry(struct commit *commit, char *host) html_txt(info->subject); html("\n"); html(""); - cgit_print_date(info->author_date, FMT_ATOMDATE, 0); + cgit_print_date(info->committer_date, FMT_ATOMDATE, 0); html("\n"); html("\n"); if (info->author) { @@ -85,7 +85,9 @@ void cgit_print_atom(char *tip, char *path, int max_count) struct rev_info rev; int argc = 2; - if (!tip) + if (ctx.qry.show_all) + argv[1] = "--all"; + else if (!tip) argv[1] = ctx.qry.head; if (path) {