author | Jakub Narebski <jnareb@gmail.com> | |
Mon, 7 Sep 2009 12:40:00 +0000 (14:40 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 7 Sep 2009 21:53:56 +0000 (14:53 -0700) | ||
commit | e4b48eaab724d9fd5941c6a683a34ee38a864897 | |
tree | 845221cfefd9cd97015ce0a4db752b37f31168db | tree | snapshot |
parent | 6ea71fe7d36cf5b81c2100d97a822ecf0bc04746 | commit | diff |
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>
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 | diff | blob | history | |
gitweb/gitweb.perl | diff | blob | history |