X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=blobdiff_plain;f=lib%2FPublicInbox%2FWwwCoderepo.pm;h=1a8754c44fd816f21efb87a485ef894a30952be0;hp=99df39ef9cb9d8ac971d31733c2ede0e90808ed8;hb=e6923c94de9d302fdc51185a7bea516b28b35fc1;hpb=68e182a29404407680bee482f99ee24dd9c3c7cb diff --git a/lib/PublicInbox/WwwCoderepo.pm b/lib/PublicInbox/WwwCoderepo.pm index 99df39ef..1a8754c4 100644 --- a/lib/PublicInbox/WwwCoderepo.pm +++ b/lib/PublicInbox/WwwCoderepo.pm @@ -27,8 +27,7 @@ sub prepare_coderepos { my $pi_cfg = $self->{pi_cfg}; # TODO: support gitweb and other repository viewers? - defined($pi_cfg->{'publicinbox.cgitrc'}) and - $pi_cfg->parse_cgitrc(undef, 0); + $pi_cfg->parse_cgitrc(undef, 0); my $code_repos = $pi_cfg->{-code_repos}; for my $k (grep(/\Acoderepo\.(?:.+)\.dir\z/, keys %$pi_cfg)) {