From 1f34241e5dc94417d49e2c728e0f2ea04ddc39b0 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 16 Feb 2017 20:53:42 +0000 Subject: repobrowse: shorten "repo_info" to "-repo" This makes it more consistent with how we use the Inbox objects for the main code. --- lib/PublicInbox/RepoGitPlain.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/PublicInbox/RepoGitPlain.pm') diff --git a/lib/PublicInbox/RepoGitPlain.pm b/lib/PublicInbox/RepoGitPlain.pm index 6114a858..79a15be6 100644 --- a/lib/PublicInbox/RepoGitPlain.pm +++ b/lib/PublicInbox/RepoGitPlain.pm @@ -10,7 +10,7 @@ use PublicInbox::Qspawn; sub call_git_plain { my ($self, $req) = @_; - my $git = $req->{repo_info}->{git}; + my $git = $req->{-repo}->{git}; my $id = $req->{-tip} . ':' . $req->{expath}; my ($cat, $hex, $type, $size) = $git->cat_file_begin($id); return unless defined $cat; -- cgit v1.2.3-24-ge0c7