From: Eric Wong Date: Thu, 5 Jan 2023 01:44:59 +0000 (+0000) Subject: git: write_all: remove leftover debug messages X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=7ea6eb5a69ae3e58d49eb1b04bd015d7eb38695f;hp=a30dd4aa9455f4166c6bc18e043fccd645b4231c;p=public-inbox.git git: write_all: remove leftover debug messages 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 Fixes: d4ba8828ab23 ("git: fix asynchronous batching for deep pipelines") --- diff --git a/lib/PublicInbox/Git.pm b/lib/PublicInbox/Git.pm index 86b80a4e..c7f82ba2 100644 --- a/lib/PublicInbox/Git.pm +++ b/lib/PublicInbox/Git.pm @@ -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); }