summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 941ba21)
raw | patch | inline | side by side (parent: 941ba21)
author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | |
Wed, 26 Jul 2006 14:58:35 +0000 (16:58 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 26 Jul 2006 19:24:36 +0000 (12:24 -0700) |
These warnings cluttered up my log.
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.cgi | patch | blob | history |
diff --git a/gitweb/gitweb.cgi b/gitweb/gitweb.cgi
index 5acd66dd6c81332e114cb85df73671ead6fc6955..30cb624b2a38bc5b90915f0061ff3127ac0ee34d 100755 (executable)
--- a/gitweb/gitweb.cgi
+++ b/gitweb/gitweb.cgi
if (-d $projects_list) {
# search in directory
my $dir = $projects_list;
- opendir my $dh, $dir or return undef;
+ opendir my ($dh), $dir or return undef;
while (my $dir = readdir($dh)) {
if (-e "$projectroot/$dir/HEAD") {
my $pr = {
# 'git%2Fgit.git Linus+Torvalds'
# 'libs%2Fklibc%2Fklibc.git H.+Peter+Anvin'
# 'linux%2Fhotplug%2Fudev.git Greg+Kroah-Hartman'
- open my $fd , $projects_list or return undef;
+ open my ($fd), $projects_list or return undef;
while (my $line = <$fd>) {
chomp $line;
my ($path, $owner) = split ' ', $line;