]> git.ipfire.org Git - thirdparty/git.git/commit
parse-options: add more BUG_ON() annotations
authorJeff King <peff@peff.net>
Thu, 31 Aug 2023 21:21:49 +0000 (17:21 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 5 Sep 2023 21:48:17 +0000 (14:48 -0700)
commitabf2952f83f657ff40a731aa4b370350711029f4
tree6c9463a7b8a4154bae291bff42fec054ea14d11f
parent62c5358a5e728d332e4a991c87d9eb0d5161a02a
parse-options: add more BUG_ON() annotations

These callbacks are similar to the ones touched by 517fe807d6 (assert
NOARG/NONEG behavior of parse-options callbacks, 2018-11-05), but were
either missed in that commit (the one in add.c) or were added later (the
one in log.c).

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/add.c
builtin/log.c