Website Summary Files Commits Branches @commit @diff @stats
path: root / ui-tree.c
diff options
context:
space:
mode:
1 files changed, 1 insertions, 0 deletions
-rw-r--r--ui-tree.c1
diff --git a/ui-tree.c b/ui-tree.c
index 2447fec..edf06c7 100644
--- a/ui-tree.c
+++ b/ui-tree.c
@@ -347,6 +347,7 @@ static int walk_tree(const struct object_id *oid, struct strbuf *base,
cgit_set_title_from_path(buffer.buf);
strbuf_release(&buffer);
ls_head();
+ htmlf("<tr><td class='ls-mode'>----------</td><a href='/%s/%s/%s' class='ls-dir'>..</a></td><td class='ls-size'></td><td></td></tr>\n", ctx.qry.repo, ctx.qry.page, base->buf);
return READ_TREE_RECURSIVE;
} else {
walk_tree_ctx->state = 2;