From: Ævar Arnfjörð Bjarmason Date: Thu, 02 Jun 2022 14:46:52 GMT Subject: ab/bug-if-bug (was: What's cooking in git.git (Jun 2022, #01; Wed, 1)) Message-ID: <220602.861qw7yvep.gmgdl@evledraar.gmail.com> In-Reply-To: On Wed, Jun 01 2022, Junio C Hamano wrote: > * ab/bug-if-bug (2022-06-01) 6 commits > - cache-tree.c: use bug() and BUG_if_bug() > - receive-pack: use bug() and BUG_if_bug() > - parse-options.c: use optbug() instead of BUG() "opts" check > - parse-options.c: use new bug() API for optbug() > - usage.c: add a non-fatal bug() function to go with BUG() > - common-main.c: move non-trace2 exit() behavior out of trace2.c > > A new bug() and BUG_if_bug() API is introduced to make it easier to > uniformly log "detect multiple bugs and abort in the end" pattern. > > Will merge to 'next'? > source: I think it should be ready with a hopefully final re-roll at https://lore.kernel.org/git/cover-v3-0.6-00000000000-20220602T122106Z-avarab@gmail.com/ addressing the outstanding v2 comments. Thanks!