From: Jeff King Date: Tue, 05 Mar 2019 04:11:58 GMT Subject: Re: [PATCH 1/2] fetch: avoid calling write_or_die() Message-ID: <20190305041158.GB19800@sigill.intra.peff.net> In-Reply-To: On Mon, Mar 04, 2019 at 08:42:40PM +0700, Duy Nguyen wrote: > > - } else > > - write_or_die(fd, buf->buf, buf->len); > > + } else { > > + if (write_in_full(fd, buf->buf, buf->len) < 0) > > + die_errno("unable to write to remote"); > > maybe _() these strings. Good thinking. I just sent an update in another part of the thread. -Peff