summaryrefslogtreecommitdiffabout
path: root/ui-refs.c
Unidiff
Diffstat (limited to 'ui-refs.c') (more/less context) (ignore whitespace changes)
-rw-r--r--ui-refs.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/ui-refs.c b/ui-refs.c
index 44c8f9a..32e0429 100644
--- a/ui-refs.c
+++ b/ui-refs.c
@@ -89,5 +89,5 @@ static int print_tag(struct refinfo *ref)
89 struct tag *tag; 89 struct tag *tag;
90 struct taginfo *info; 90 struct taginfo *info;
91 char *url, *name = (char *)ref->refname; 91 char *name = (char *)ref->refname;
92 92
93 if (ref->object->type == OBJ_TAG) { 93 if (ref->object->type == OBJ_TAG) {
@@ -97,9 +97,5 @@ static int print_tag(struct refinfo *ref)
97 return 1; 97 return 1;
98 html("<tr><td>"); 98 html("<tr><td>");
99 url = cgit_pageurl(ctx.qry.repo, "tag", 99 cgit_tag_link(name, NULL, NULL, ctx.qry.head, name);
100 fmt("id=%s", name));
101 html_link_open(url, NULL, NULL);
102 html_txt(name);
103 html_link_close();
104 html("</td><td>"); 100 html("</td><td>");
105 cgit_object_link(tag->tagged); 101 cgit_object_link(tag->tagged);