summaryrefslogtreecommitdiff
path: root/unpack-trees.c
diff options
context:
space:
mode:
authorLibravatar Jakub Narebski <jnareb@gmail.com>2007-05-13 12:39:22 +0200
committerLibravatar Junio C Hamano <junkio@cox.net>2007-05-13 18:22:54 -0700
commit785cdea9befecc63b2b576c8042c5482fbf7bceb (patch)
treeed5054165261ece486782b0b88af7b862d360d38 /unpack-trees.c
parentMerge branch 'maint' (diff)
downloadtgif-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 'unpack-trees.c')
0 files changed, 0 insertions, 0 deletions