Ævar Arnfjörð Bjarmason 07b1d8f184 receive-pack: use bug() and BUG_if_bug()
Amend code added in a6a84319686 (receive-pack.c: shorten the
execute_commands loop over all commands, 2015-01-07) and amended to
hard die in b6a4788586d (receive-pack.c: die instead of error in case
of possible future bug, 2015-01-07) to use the new bug() function
instead.

Let's also rename the warn_if_*() function that code is in to
BUG_if_*(), its name became outdated in b6a4788586d.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2022-06-02 12:51:35 -07:00
..
2022-05-30 23:24:03 -07:00
2022-02-25 15:47:36 -08:00
2022-04-06 09:42:14 -07:00
2022-02-17 16:25:05 -08:00
2022-05-23 14:39:54 -07:00
2021-10-28 09:57:09 -07:00
2021-02-25 16:43:30 -08:00
2022-04-04 10:56:23 -07:00
2022-05-20 15:26:59 -07:00
2022-03-09 13:38:24 -08:00
2022-04-06 15:21:59 -07:00
2021-04-14 13:47:21 -07:00
2021-09-28 10:31:02 -07:00
2022-01-03 16:24:15 -08:00
2022-03-28 15:45:46 -07:00
2022-03-21 15:14:24 -07:00
2022-01-10 11:52:56 -08:00
2021-11-03 13:25:36 -07:00