From c91beccdb04f0437ac6cd8f13c09117ea9766296 Mon Sep 17 00:00:00 2001 From: Eric Sunshine Date: Tue, 13 Jan 2015 04:57:15 -0500 Subject: blob: cap amount of rendered binary blob content Although hexdump(1)-style rendering of binary blob content may reveal some meaningful information about the data, it wastes even more storage space than embedding the raw data itself. However, many binary files have a "magic number" or other signature near the beginning of the file, so it is often possible to glean useful information from just the initial chunk of the file without having the entire content available. Thus, limiting the rendered data to just an initial chunk saves storage space while still potentially presenting useful information about the binary content. Signed-off-by: Eric Sunshine Signed-off-by: Alberto Bertogli --- static/git-arr.css | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'static/git-arr.css') diff --git a/static/git-arr.css b/static/git-arr.css index a3fcadb..4e0c7ad 100644 --- a/static/git-arr.css +++ b/static/git-arr.css @@ -171,6 +171,10 @@ table.blob-binary .offset { border-right: 1px solid #eee; } +table.blob-binary tr.etc { + text-align: center; +} + /* Pygments overrides. */ div.linenodiv { padding-right: 0.5em; -- cgit v1.2.3