X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/566f92b27618f67f59cc3642e17d9cb9c12634fa..9c8be943f72b6f1bda5a31ce401899c3dd734e98:/ui-tree.c?ds=inline diff --git a/ui-tree.c b/ui-tree.c index 9a837e2..79332fc 100644 --- a/ui-tree.c +++ b/ui-tree.c @@ -35,10 +35,10 @@ static void print_object(const unsigned char *sha1, char *path) return; } - html(" blob: %s",sha1_to_hex(sha1)); + html(" ("); + cgit_plain_link("plain", NULL, NULL, ctx.qry.head, + curr_rev, path); + htmlf(")
blob: %s", sha1_to_hex(sha1)); html("\n"); idx = 0;