diff options
author | Eric Wong <e@80x24.org> | 2019-01-31 08:17:15 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-01-31 08:17:15 +0000 |
commit | 02604bafe9e34e4aabeee63122daa2b7702a09b1 (patch) | |
tree | 64dce67c83906e4863ee13e8b91397dc273dff7d /lib/PublicInbox/ViewVCS.pm | |
parent | 773f462ebf8bd845406ae518659bd475970f3f40 (diff) | |
download | public-inbox-02604bafe9e34e4aabeee63122daa2b7702a09b1.tar.gz |
This will become critical for future changes to display git commits, diffs, and trees. Use "qspawn.wcb" instead of "qspawn.response" to enhance readability.
Diffstat (limited to 'lib/PublicInbox/ViewVCS.pm')
-rw-r--r-- | lib/PublicInbox/ViewVCS.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/ViewVCS.pm b/lib/PublicInbox/ViewVCS.pm index 63731e92..1e8c31f2 100644 --- a/lib/PublicInbox/ViewVCS.pm +++ b/lib/PublicInbox/ViewVCS.pm @@ -54,7 +54,7 @@ sub stream_large_blob ($$$$) { my $qsp = PublicInbox::Qspawn->new($cmd); my @cl = ('Content-Length', $size); my $env = $ctx->{env}; - $env->{'qspawn.response'} = delete $ctx->{-wcb}; + $env->{'qspawn.wcb'} = delete $ctx->{-wcb}; $qsp->psgi_return($env, undef, sub { my ($r, $bref) = @_; if (!defined $r) { # error |