about summary refs log tree commit homepage
path: root/lib/PublicInbox/RepoGitFallback.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PublicInbox/RepoGitFallback.pm')
-rw-r--r--lib/PublicInbox/RepoGitFallback.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/RepoGitFallback.pm b/lib/PublicInbox/RepoGitFallback.pm
index 5ce469be..8675d0d7 100644
--- a/lib/PublicInbox/RepoGitFallback.pm
+++ b/lib/PublicInbox/RepoGitFallback.pm
@@ -14,7 +14,7 @@ sub call {
         my ($self, undef, $req) = @_;
         my $expath = $req->{expath};
         return if index($expath, '..') >= 0; # prevent path traversal
-        my $git = $req->{repo_info}->{git};
+        my $git = $req->{-repo}->{git};
         PublicInbox::GitHTTPBackend::serve($req->{env}, $git, $expath);
 }