aboutsummaryrefslogtreecommitdiff
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
-rw-r--r--cmd.c2
-rw-r--r--ui-refs.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/cmd.c b/cmd.c
index ce66af9..0bf4c76 100644
--- a/cmd.c
+++ b/cmd.c
@@ -166,7 +166,7 @@ struct cgit_cmd *cgit_get_cmd(void)
def_cmd(patch, 1, 0, 1, 0),
def_cmd(plain, 1, 0, 0, 0),
def_cmd(rawdiff, 1, 0, 1, 0),
- def_cmd(refs, 1, 0, 0, 0),
+ def_cmd(refs, 1, 1, 0, 0),
def_cmd(repolist, 0, 0, 0, 0),
def_cmd(snapshot, 1, 0, 0, 0),
def_cmd(stats, 1, 1, 1, 0),
diff --git a/ui-refs.c b/ui-refs.c
index be3572c..73a187b 100644
--- a/ui-refs.c
+++ b/ui-refs.c
@@ -236,7 +236,7 @@ void cgit_print_tags(int maxcount)
void cgit_print_refs(void)
{
- cgit_print_layout_start();
+
html("<table class='list nowrap'>");
if (ctx.qry.path && starts_with(ctx.qry.path, "heads"))
@@ -249,5 +249,4 @@ void cgit_print_refs(void)
cgit_print_tags(0);
}
html("</table>");
- cgit_print_layout_end();
}