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/RepoGitPatch.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/PublicInbox/RepoGitPatch.pm') diff --git a/lib/PublicInbox/RepoGitPatch.pm b/lib/PublicInbox/RepoGitPatch.pm index d851457c..e1431f39 100644 --- a/lib/PublicInbox/RepoGitPatch.pm +++ b/lib/PublicInbox/RepoGitPatch.pm @@ -15,7 +15,7 @@ my $sig = '--signature=git '.join(' ', @CMD); sub call_git_patch { my ($self, $req) = @_; - my $git = $req->{repo_info}->{git}; + my $git = $req->{-repo}->{git}; my $env = $req->{env}; my $tip = $req->{-tip}; $tip =~ /\A[\w-]+([~\^][~\^\d])*\z/; -- cgit v1.2.3-24-ge0c7