about summary refs log tree commit homepage
path: root/lib/PublicInbox/RepoGitDiff.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2017-02-16 20:53:42 +0000
committerEric Wong <e@80x24.org>2017-02-16 20:53:42 +0000
commit1f34241e5dc94417d49e2c728e0f2ea04ddc39b0 (patch)
tree95b1944b3aeec0d34d3ee6d63b652fc51077b953 /lib/PublicInbox/RepoGitDiff.pm
parentf99f1c9f53c9d746f7223b457e386dbb20b57c07 (diff)
downloadpublic-inbox-1f34241e5dc94417d49e2c728e0f2ea04ddc39b0.tar.gz
This makes it more consistent with how we use the Inbox
objects for the main code.
Diffstat (limited to 'lib/PublicInbox/RepoGitDiff.pm')
-rw-r--r--lib/PublicInbox/RepoGitDiff.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/RepoGitDiff.pm b/lib/PublicInbox/RepoGitDiff.pm
index ef4717ac..0e79f119 100644
--- a/lib/PublicInbox/RepoGitDiff.pm
+++ b/lib/PublicInbox/RepoGitDiff.pm
@@ -36,7 +36,7 @@ sub call_git_diff {
         my ($self, $req) = @_;
         my ($id, $id2) = split(/\.\./, $req->{h});
         my $env = $req->{env};
-        my $git = $req->{repo_info}->{git};
+        my $git = $req->{-repo}->{git};
         my $cmd = $git->cmd(qw(diff-tree -z --numstat -p --encoding=UTF-8
                                 --no-color -M -B -D -r), $id2, $id, '--');
         my $expath = $req->{expath};