diff options
author | Jakub Narebski <jnareb@gmail.com> | 2007-05-13 12:39:22 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-05-13 18:22:54 -0700 |
commit | 785cdea9befecc63b2b576c8042c5482fbf7bceb (patch) | |
tree | ed5054165261ece486782b0b88af7b862d360d38 /var.c | |
parent | 43d151a1b087db22e2f9a754772b469de1194f67 (diff) | |
download | git-785cdea9befecc63b2b576c8042c5482fbf7bceb.tar.gz git-785cdea9befecc63b2b576c8042c5482fbf7bceb.tar.xz |
gitweb: Fix "Use of unitialized value" warnings in empty repository
Fix it so gitweb doesn't write "Use of unitialized value..." warnings
(which gets written in web server logs) for empty (no commits)
repository.
In empty repository "last change" (last activity) doesn't make sense;
also there is no sense in parsing commits which aren't there.
In projects list for empty repositories gitweb now writes "No commits"
using "noage" class, instead of leaving cell empty, in the last change
column.
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'var.c')
0 files changed, 0 insertions, 0 deletions