git-arr/views
Eric Sunshine 46640c68b9 views: blob: render empty blobs specially
Empty (zero-length) blobs are currently rendered by 'pygments'
misleadingly as a single empty line, or, when 'pygments' is unavailable,
as "nothingness" preceding a horizontal rule. In either case, it is
somewhat difficult to glean concrete information about the blob.

Address this by instead rendering summary information about the blob: in
particular, its classification ("empty") and its size ("0 bytes"). This
is analogous to the summary information rendered for binary blobs
("binary" and size).

Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>
2015-01-13 19:51:45 +00:00
..
blob.html views: blob: render empty blobs specially 2015-01-13 19:51:45 +00:00
branch.html views: fix broken URLs involving hierarchical branch names 2015-01-11 21:18:22 +00:00
commit-list.html Initial commit 2012-11-10 17:49:54 +00:00
commit.html Fix committer field in the commit view 2013-11-03 10:57:54 +00:00
index.html Show the age of a repository in the index, via javascript 2013-11-02 22:18:33 +00:00
paginate.html views: branch/paginate: fix incorrectly enabled "next" link 2015-01-11 21:18:22 +00:00
summary.html views: summary: suppress extra horizontal rule when no "master" branch 2015-01-11 21:18:06 +00:00
tree.html views: fix broken URLs involving hierarchical branch names 2015-01-11 21:18:22 +00:00