X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/a53042865a4ac8b1fa1d6b37720787601e181495..66cacd053ba900c8eb3b7962027370c84a97f990:/ui-tree.c diff --git a/ui-tree.c b/ui-tree.c index 54dcdbe..b00670e 100644 --- a/ui-tree.c +++ b/ui-tree.c @@ -29,11 +29,16 @@ static int print_entry(const unsigned char *sha1, const char *base, if (S_ISDIR(mode)) { html("
"); html_txt(name); @@ -46,7 +51,7 @@ static int print_entry(const unsigned char *sha1, const char *base, return 0; } -void cgit_print_tree(const char *hex) +void cgit_print_tree(const char *hex, char *path) { struct tree *tree; unsigned char sha1[20]; @@ -61,9 +66,9 @@ void cgit_print_tree(const char *hex) return; } - html("

Tree content

\n"); + html_txt(path); html("\n"); - html(""); + html(""); html(""); html(""); html("");
ModeNameSize