Thread (1 message) 1 message, 1 author, 2018-10-24

Re: [RFC 2/2] exclude-promisor-objects: declare when option is allowed

From: Junio C Hamano <hidden>
Date: 2018-10-24 03:32:58

Matthew DeVore [off-list ref] writes:
On Tue, 23 Oct 2018, Junio C Hamano wrote:
quoted
Not really.  We were already doing a controlled failure via die(),
so these two tests would not have caught the problem in the code
before the fix in this patch.
BUG is apparently considered a "wrong" failure and not a controlled one
by test_must_fail. I just double-checked that the tests fail without
this patch.
Ah, I was testing a wrong codepath.  Yes, it does call BUG("..."),
which is a prettier-looking abort(), but I somehow thought it was
doing die("BUG: ...").

In any case, thanks for the fix.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help