about summary refs log tree commit homepage
path: root/lib/PublicInbox/Config.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-03-18 23:27:51 +0000
committerEric Wong <e@80x24.org>2021-03-19 06:08:24 +0000
commit6890430df808488a42184844bb74331644772b09 (patch)
tree435ce48df55beef0e57c98c470af848e38c498c0 /lib/PublicInbox/Config.pm
parent86f7b16ee50081d4eed779372ccc198d8a1770dc (diff)
downloadpublic-inbox-6890430df808488a42184844bb74331644772b09.tar.gz
We can't completely instantiate our cgit wrapper without knowing
knowing cgit locations for serving static content.

Fixes: a5968dc059f655a ("config: lazy-load coderepos, support extindex")
Diffstat (limited to 'lib/PublicInbox/Config.pm')
-rw-r--r--lib/PublicInbox/Config.pm4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/PublicInbox/Config.pm b/lib/PublicInbox/Config.pm
index 1037c884..228de4ff 100644
--- a/lib/PublicInbox/Config.pm
+++ b/lib/PublicInbox/Config.pm
@@ -323,10 +323,6 @@ sub _fill_code_repo {
         my ($self, $nick) = @_;
         my $pfx = "coderepo.$nick";
 
-        # TODO: support gitweb and other repository viewers?
-        if (defined(my $cgitrc = delete $self->{-cgitrc_unparsed})) {
-                parse_cgitrc($self, $cgitrc, 0);
-        }
         my $dir = $self->{"$pfx.dir"}; # aka "GIT_DIR"
         unless (defined $dir) {
                 warn "$pfx.dir unset\n";