about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-04-16 01:19:42 +0000
committerEric Wong <e@80x24.org>2019-04-16 20:58:18 +0000
commita94349cda5763507d665809676fccc7b34575a21 (patch)
tree7c1fe82322f201c0976186e2277dc86f1758c550
parent572d57fd19f65fe60e317a115fffc57f38a02a63 (diff)
downloadpublic-inbox-a94349cda5763507d665809676fccc7b34575a21.tar.gz
We access the Git object via the Inbox object nowadays, so
there's no point in having a shortcut to it, anymore.
-rw-r--r--lib/PublicInbox/WWW.pm1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/PublicInbox/WWW.pm b/lib/PublicInbox/WWW.pm
index 798e8b17..aa05a23d 100644
--- a/lib/PublicInbox/WWW.pm
+++ b/lib/PublicInbox/WWW.pm
@@ -188,7 +188,6 @@ sub invalid_inbox ($$) {
         my ($ctx, $inbox) = @_;
         my $obj = $ctx->{www}->{pi_config}->lookup_name($inbox);
         if (defined $obj) {
-                $ctx->{git} = $obj->git;
                 $ctx->{-inbox} = $obj;
                 return;
         }