From 7ea6eb5a69ae3e58d49eb1b04bd015d7eb38695f Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 5 Jan 2023 01:44:59 +0000 Subject: 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") --- lib/PublicInbox/Git.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/PublicInbox/Git.pm') 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); } -- cgit v1.2.3-24-ge0c7