Re: [PATCH 0/2] replace die("BUG: ...") with BUG("...")

2 messages, 2 authors, 2021-12-07 · open the first message on its own page

Re: [PATCH 0/2] replace die("BUG: ...") with BUG("...")

From: Junio C Hamano <hidden>
Date: 2021-12-06 18:45:01

Ævar Arnfjörð Bjarmason  [off-list ref] writes:
A trivial clean-up to change a couple of die() uses to BUG() where
appropriate.
Makes sense.  I wonder contrib/coccinelle/ can help us maintain
them, though.

Will queue.

Thanks.

Re: [PATCH 0/2] replace die("BUG: ...") with BUG("...")

From: Ævar Arnfjörð Bjarmason <hidden>
Date: 2021-12-07 11:02:06

On Mon, Dec 06 2021, Junio C Hamano wrote:
Ævar Arnfjörð Bjarmason  [off-list ref] writes:
quoted
A trivial clean-up to change a couple of die() uses to BUG() where
appropriate.
Makes sense.  I wonder contrib/coccinelle/ can help us maintain
them, though.
I tried to come up with a rule for this after browsing around in linux's
sources & coccicheck's own test cases, but didn't find any example I
could adapt. It's rather thin on string munging like that, and I don't
know spatch well enough.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help