gitweb: Add 'show-sizes' feature to show blob sizes in tree view
authorJakub Narebski <jnareb@gmail.com>
Mon, 7 Sep 2009 12:40:00 +0000 (14:40 +0200)
committerShawn O. Pearce <spearce@spearce.org>
Tue, 29 Sep 2009 17:06:50 +0000 (10:06 -0700)
commita9efa813f04425d5c83797e4d60622df1d993f24
tree51c8d9d5bca9d1abd2725db2eb3c88cc716ec712
parent1be224ba6e99f0ab34c998d7fa8023b76a15c8b6
gitweb: Add 'show-sizes' feature to show blob sizes in tree view

Add support for 'show-sizes' feature to show (in separate column,
between mode and filename) the size of blobs (files) in the 'tree'
view.  It passes '-l' option to "git ls-tree" invocation.

For the 'tree' and 'commit' (submodule) entries, '-' is shown in place
of size; for generated '..' "up directory" entry nothing is shown.

The 'show-sizes' feature is enabled by default.

Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitweb/gitweb.css
gitweb/gitweb.perl