X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/ed7e3bc822856c30066a4ff0178033b22046fe96..c422b9b3d5938a4d386533604d4c0dbedfcb2b6d:/ui-log.c diff --git a/ui-log.c b/ui-log.c index 657ff3c..1b60591 100644 --- a/ui-log.c +++ b/ui-log.c @@ -71,11 +71,11 @@ void show_commit_decorations(struct commit *commit) } else if (starts_with(deco->name, "tag: refs/tags/")) { strncpy(buf, deco->name + 15, sizeof(buf) - 1); - cgit_tag_link(buf, NULL, "tag-deco", ctx.qry.head, buf); + cgit_tag_link(buf, NULL, "tag-deco", buf); } else if (starts_with(deco->name, "refs/tags/")) { strncpy(buf, deco->name + 10, sizeof(buf) - 1); - cgit_tag_link(buf, NULL, "tag-deco", ctx.qry.head, buf); + cgit_tag_link(buf, NULL, "tag-deco", buf); } else if (starts_with(deco->name, "refs/remotes/")) { if (!ctx.repo->enable_remote_branches)