cgitrc files can have hundreds or thousands of lines in them and
slurping them into memory is a waste. "while (<$fh>)" only
reads one line at a time, whereas "for (<$fh>)" reads the entire
contents of the file into a temporary array.
warn "failed to open cgit projectlist=$list: $!\n";
return;
};
warn "failed to open cgit projectlist=$list: $!\n";
return;
};
chomp;
scan_path_coderepo($self, $path, "$path/$_");
}
chomp;
scan_path_coderepo($self, $path, "$path/$_");
}
# FIXME: this doesn't support macro expansion via $VARS, yet
my $repo;
# FIXME: this doesn't support macro expansion via $VARS, yet
my $repo;
chomp;
if (m!\Arepo\.url=(.+?)/*\z!) {
my $nick = $1;
chomp;
if (m!\Arepo\.url=(.+?)/*\z!) {
my $nick = $1;