Thread (37 messages) 37 messages, 4 authors, 4d ago

Re: [PATCH 7/5] merge-ll: report an error when reading external merge results fails

From: Junio C Hamano <hidden>
Date: 2026-10-01 15:37:36

Jeff King [off-list ref] writes:
On Wed, Sep 30, 2026 at 11:01:28AM -0700, Junio C Hamano wrote:
quoted
Jeff King [off-list ref] writes:
quoted
Here's a resend of that final patch (not just a squash, because the
commit message mentioned the chmod).
Makes sense.

These 6/5 and 7/5 are probably better squashed into 5/5 than left as
"oops that was bad, so here is a preliminary clean-up to make the
fix easier (6/5), and here is the fix of the fifth step (7/5)", no?
I don't think it is the fault of 5/5 at all (which carefully tried to
maintain the NULL behavior). The problem fixed by 7/5 existed before my
series.
Ah, OK, rereading the code before 5/5 is applied, I notice that we
are not declaring the result is bad when we jump to "bad:" label
after noticing an I/O error.  The code only paid attention to the
status returned by run_command().
In theory that fix _could_ come earlier in the series, but it's actually
much easier to fix after 5/5, because we have a single spot to error
check.
True.  Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help