]> Sergey Matveev's repositories - public-inbox.git/commitdiff
git: write_all: remove leftover debug messages
authorEric Wong <e@80x24.org>
Thu, 5 Jan 2023 01:44:59 +0000 (01:44 +0000)
committerEric Wong <e@80x24.org>
Thu, 5 Jan 2023 04:48:15 +0000 (04:48 +0000)
I used these messages during development to verify Alpine was
triggering the intended codepaths.  They're no longer necessary
and just noise at this point.

Reported-by: Chris Brannon <chris@the-brannons.com>
Fixes: d4ba8828ab23 ("git: fix asynchronous batching for deep pipelines")
lib/PublicInbox/Git.pm

index 86b80a4edb877152f566c00a7b804952516e907b..c7f82ba2f4eaba45a301a936ddd2d32b2722fa6c 100644 (file)
@@ -315,11 +315,10 @@ sub write_all {
                my $w = syswrite($out, $buf);
                if (defined $w) {
                        return if $w == length($buf);
-                       warn "chop: $w";
                        substr($buf, 0, $w, ''); # sv_chop
                } elsif ($! != EAGAIN) {
                        $self->fail("write: $!");
-               } else { warn "E: $!" }
+               }
                $read_step->($self, $inflight);
        } while (1);
 }