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