X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/eca95229acdc3c7c27fdcc1319f5c96da9e3b538..bafab423f20bc1448b293842c235965e1681f07e:/ui-atom.c?ds=sidebyside diff --git a/ui-atom.c b/ui-atom.c index 9331f74..5b5525d 100644 --- a/ui-atom.c +++ b/ui-atom.c @@ -10,7 +10,7 @@ #include "html.h" #include "ui-shared.h" -void add_entry(struct commit *commit, char *host) +static void add_entry(struct commit *commit, char *host) { char delim = '&'; char *hex; @@ -111,6 +111,14 @@ void cgit_print_atom(char *tip, char *path, int max_count) html("\n"); html(""); html_txt(ctx.repo->name); + if (path) { + html("/"); + html_txt(path); + } + if (tip && !ctx.qry.show_all) { + html(", branch "); + html_txt(tip); + } html("\n"); html(""); html_txt(ctx.repo->desc);