aboutsummaryrefslogtreecommitdiffstats
path: root/ui-tree.c
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2012-03-20 08:13:01 +0000
committerJason A. Donenfeld <Jason@zx2c4.com>2012-10-16 23:57:00 +0200
commit8a53f9dd6d86e7212c416df7d7c2c8598c1a6260 (patch)
tree761bd74a442cc61900a133d3426c3a21e6115ec1 /ui-tree.c
parentui-repolist: Rename section-sort to repository-sort. (diff)
downloadcgit-8a53f9dd6d86e7212c416df7d7c2c8598c1a6260.tar.xz
cgit-8a53f9dd6d86e7212c416df7d7c2c8598c1a6260.zip
ui-tree.c: cleanup printing of blobs in tree viewlh/pretty-blob-view
Signed-off-by: Lars Hjemli <larsh@hjemli.net>
Diffstat (limited to 'ui-tree.c')
-rw-r--r--ui-tree.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/ui-tree.c b/ui-tree.c
index b1adcc7..dd98701 100644
--- a/ui-tree.c
+++ b/ui-tree.c
@@ -104,11 +104,6 @@ static void print_object(const unsigned char *sha1, char *path, const char *base
return;
}
- htmlf("blob: %s (", sha1_to_hex(sha1));
- cgit_plain_link("plain", NULL, NULL, ctx.qry.head,
- curr_rev, path);
- html(")\n");
-
if (ctx.cfg.max_blob_size && size / 1024 > ctx.cfg.max_blob_size) {
htmlf("<div class='error'>blob size (%ldKB) exceeds display size limit (%dKB).</div>",
size / 1024, ctx.cfg.max_blob_size);