author | Jakub Narebski <jnareb@gmail.com> | |
Sun, 13 May 2007 10:39:22 +0000 (12:39 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 14 May 2007 01:22:54 +0000 (18:22 -0700) | ||
commit | 785cdea9befecc63b2b576c8042c5482fbf7bceb | |
tree | ed5054165261ece486782b0b88af7b862d360d38 | tree | snapshot |
parent | 43d151a1b087db22e2f9a754772b469de1194f67 | commit | diff |
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>
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>
gitweb/gitweb.perl | diff | blob | history |