X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/eeddb5bc0905d4728001a111a9b1eb60ecccf9bd..94182d6031df0d956a94ecd7ece233e345468961:/ui-refs.c
diff --git a/ui-refs.c b/ui-refs.c
index d2ba48d..be3572c 100644
--- a/ui-refs.c
+++ b/ui-refs.c
@@ -63,7 +63,7 @@ static int print_branch(struct refinfo *ref)
return 1;
html("
| ");
cgit_log_link(name, NULL, NULL, name, NULL, NULL, 0, NULL, NULL,
- ctx.qry.showmsg);
+ ctx.qry.showmsg, 0);
html(" | ");
if (ref->object->type == OBJ_COMMIT) {
@@ -82,7 +82,7 @@ static int print_branch(struct refinfo *ref)
return 0;
}
-static void print_tag_header()
+static void print_tag_header(void)
{
html(" |
| Tag | "
"Download | "
@@ -140,7 +140,7 @@ static int print_tag(struct refinfo *ref)
}
html("
|---|
| ");
- cgit_tag_link(name, NULL, NULL, ctx.qry.head, name);
+ cgit_tag_link(name, NULL, NULL, name);
html(" | ");
if (ctx.repo->snapshots && (obj->type == OBJ_COMMIT))
print_tag_downloads(ctx.repo, name);
@@ -234,9 +234,9 @@ void cgit_print_tags(int maxcount)
cgit_free_reflist_inner(&list);
}
-void cgit_print_refs()
+void cgit_print_refs(void)
{
-
+ cgit_print_layout_start();
html("");
if (ctx.qry.path && starts_with(ctx.qry.path, "heads"))
@@ -249,4 +249,5 @@ void cgit_print_refs()
cgit_print_tags(0);
}
html(" ");
+ cgit_print_layout_end();
}
|