]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-refs.c
simple-authentication.lua: tie secure cookies to field names
[ps-cgit] / ui-refs.c
index 7e58737f8a36d23005c4ecdd868ff8539d875233..ac8a6d446e14765afabfcffe0f41f6fb32256b68 100644 (file)
--- a/ui-refs.c
+++ b/ui-refs.c
@@ -67,7 +67,7 @@ static int print_branch(struct refinfo *ref)
        html("</td><td>");
 
        if (ref->object->type == OBJ_COMMIT) {
        html("</td><td>");
 
        if (ref->object->type == OBJ_COMMIT) {
-               cgit_commit_link(info->subject, NULL, NULL, name, NULL, NULL, 0);
+               cgit_commit_link(info->subject, NULL, NULL, name, NULL, NULL);
                html("</td><td>");
                cgit_open_filter(ctx.repo->email_filter, info->author_email, "refs");
                html_txt(info->author);
                html("</td><td>");
                cgit_open_filter(ctx.repo->email_filter, info->author_email, "refs");
                html_txt(info->author);
@@ -140,7 +140,7 @@ static int print_tag(struct refinfo *ref)
        }
 
        html("<tr><td>");
        }
 
        html("<tr><td>");
-       cgit_tag_link(name, NULL, NULL, ctx.qry.head, name);
+       cgit_tag_link(name, NULL, NULL, name);
        html("</td><td>");
        if (ctx.repo->snapshots && (obj->type == OBJ_COMMIT))
                print_tag_downloads(ctx.repo, name);
        html("</td><td>");
        if (ctx.repo->snapshots && (obj->type == OBJ_COMMIT))
                print_tag_downloads(ctx.repo, name);