X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/23296ad648c0e2a9e3cf40a3de322b10ad25cce3..0274b57d55a12ed38259757dbfae96b79cfa2e0b:/ui-tree.c?ds=sidebyside
diff --git a/ui-tree.c b/ui-tree.c
index 9be3140..051db7c 100644
--- a/ui-tree.c
+++ b/ui-tree.c
@@ -35,9 +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("
| Bad object: %s %s | ||
| Bad object: %s %s | ||
| "); @@ -102,7 +106,7 @@ static int ls_item(const unsigned char *sha1, const char *base, int baselen, html(" | "); cgit_log_link("log", NULL, "button", ctx.qry.head, curr_rev, - fullpath, 0, NULL, NULL); + fullpath, 0, NULL, NULL, ctx.qry.showmsg); html(" | |