gitweb: Fix "Use of uninitialized value" warning in git_feed
authorJakub Narebski <jnareb@gmail.com>
Sat, 19 May 2007 00:47:51 +0000 (02:47 +0200)
committerJunio C Hamano <junkio@cox.net>
Sat, 19 May 2007 02:49:45 +0000 (19:49 -0700)
commitc906b18122af72a8219c76281473490f812e5a40
tree5d521f8fc930b4b7526c8e867819b6b057c1a518
parentc0e9892637e8144f10f2c408e276a470520f3601
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>
gitweb/gitweb.perl