diff options
author | Junio C Hamano <gitster@pobox.com> | 2022-06-10 15:04:15 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-06-10 15:04:15 -0700 |
commit | 4da14b574f2e52eb05e4fef7ed169a8f9e3a8b67 (patch) | |
tree | 134a132278b3ca34974f2812b24acb5fe9a47810 /commit.c | |
parent | 28c2a3599730cca72c587bec7a9a72705635d992 (diff) | |
parent | 6d40f0ad15e72daab6524988c9c4b4a3460488f8 (diff) |
Merge branch 'ab/bug-if-bug'
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.
* ab/bug-if-bug:
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
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions