X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/e550440233875b298f8574e9273457516791010f..ef688e16f05a5a3438e63645852c436fe33fab71:/ui-refs.c diff --git a/ui-refs.c b/ui-refs.c index 0805fc8..c35e694 100644 --- a/ui-refs.c +++ b/ui-refs.c @@ -58,7 +58,8 @@ static int print_branch(struct refinfo *ref) if (!info) return 1; html(""); - cgit_log_link(name, NULL, NULL, name, NULL, NULL, 0, NULL, NULL); + cgit_log_link(name, NULL, NULL, name, NULL, NULL, 0, NULL, NULL, + ctx.qry.showmsg); html(""); if (ref->object->type == OBJ_COMMIT) { @@ -140,7 +141,7 @@ static int print_tag(struct refinfo *ref) html(""); html_txt(name); html(""); - if (ctx.repo->snapshots && (tag->tagged->type == OBJ_COMMIT)) + if (ctx.repo->snapshots && (ref->object->type == OBJ_COMMIT)) print_tag_downloads(ctx.repo, name); else cgit_object_link(ref->object);