We don't need 404s for non-existent coderepos creating fake
(and invalid) entries. I noticed this while working on
subsequent changes to support globbing in URLs.
$self->{-coderepos}->{$nick} // do {
defined($self->{-cgit_scan_path}) ? do {
apply_cgit_scan_path($self);
- $self->{-coderepos}->{$nick} =
- fill_coderepo($self, $nick);
+ my $cr = fill_coderepo($self, $nick);
+ $cr ? ($self->{-coderepos}->{$nick} = $cr) : undef;
} : undef;
};
}