summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2022-06-02 14:25:35 +0200
committerJunio C Hamano <gitster@pobox.com>2022-06-02 12:51:35 -0700
commit5b2f5d92ca5afc118d3fb798c1f25863a5011a01 (patch)
tree3aaac251e03f591198e7ff5e0a1896092a04fed6 /commit.c
parent53ca569419aed9706b052c48656715ab0b5f14fd (diff)
parse-options.c: use optbug() instead of BUG() "opts" check
Change the assertions added in bf3ff338a25 (parse-options: stop abusing 'callback' for lowlevel callbacks, 2019-01-27) to use optbug() instead of BUG(). At this point we're looping over individual options, so if we encounter any issues we'd like to report the offending option. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions