author | Jakub Narebski <jnareb@gmail.com> | |
Sat, 19 May 2007 00:47:51 +0000 (02:47 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 19 May 2007 02:49:45 +0000 (19:49 -0700) | ||
commit | c906b18122af72a8219c76281473490f812e5a40 | |
tree | 5d521f8fc930b4b7526c8e867819b6b057c1a518 | tree | snapshot |
parent | c0e9892637e8144f10f2c408e276a470520f3601 | commit | diff |
gitweb: Fix "Use of uninitialized value" warning in git_feed
Initial (root) commit has no parents, and $co{'parent'} is
undefined. Use '--root' for initial commit.
This fixes "Use of uninitialized value in open at gitweb/gitweb.perl
line 4925." warning.
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Initial (root) commit has no parents, and $co{'parent'} is
undefined. Use '--root' for initial commit.
This fixes "Use of uninitialized value in open at gitweb/gitweb.perl
line 4925." warning.
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl | diff | blob | history |