X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/a53042865a4ac8b1fa1d6b37720787601e181495..06c81d6faafff1c80bc9e2302e5b8fea393b775b:/ui-tree.c?ds=sidebyside diff --git a/ui-tree.c b/ui-tree.c index 54dcdbe..ed9f05e 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]; @@ -62,6 +67,7 @@ void cgit_print_tree(const char *hex) } html("

Tree content

\n"); + html_txt(path); html("\n"); html(""); html("");
Mode