Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
parse-options.c: use optbug() instead of BUG() "opts" check
Change the assertions added in bf3ff33 (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>
- Loading branch information