]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/LeiRediff.pm
gzip_filter: delay async wcb call
[public-inbox.git] / lib / PublicInbox / LeiRediff.pm
index decb721b7a4c47e9eaf3acbba51fcfbaa913be78..56c457fc46933d83f95457d0329b9456037d6435 100644 (file)
@@ -30,7 +30,7 @@ sub rediff_user_cb { # called by solver when done
 
        # don't try to support all the git-show(1) options for non-blob,
        # this is just a convenience:
-       $type ne 'blob' and return $lei->err(<<EOF);
+       $type ne 'blob' and return warn(<<EOF);
 # $oid is a $type of $size bytes in:
 # $git->{git_dir} (wanted: $oid_want)
 EOF
@@ -303,7 +303,6 @@ sub ipc_atfork_child {
        $self->{gits} = [ map {
                        PublicInbox::Git->new($lei->rel2abs($_))
                } @{$self->{lei}->{opt}->{'git-dir'}} ];
-       $lei->{env}->{'psgi.errors'} = $lei->{2}; # ugh...
        $lei->{env}->{TMPDIR} = $self->{rdtmp}->dirname;
        if (my $nr = ($lei->{opt}->{drq} || $lei->{opt}->{'dequote-only'})) {
                my $re = '\s*> ' x $nr;