X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/286a905842dc0bec6d21a614ec4a97c5f19d5bc4..6940b23b9e4698ba466a4616e4de77b986560ad3:/ui-atom.c diff --git a/ui-atom.c b/ui-atom.c index e5c31d9..9f049ae 100644 --- a/ui-atom.c +++ b/ui-atom.c @@ -32,7 +32,7 @@ void add_entry(struct commit *commit, char *host) html_txt(info->author); html("\n"); } - if (info->author_email) { + if (info->author_email && !ctx.cfg.noplainemail) { mail = xstrdup(info->author_email); t = strchr(mail, '<'); if (t) @@ -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) {