diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2022-06-02 15:25:36 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-06-02 22:51:35 +0300 |
commit | 07b1d8f184e126eef8223757844587cf91d6e14c (patch) | |
tree | 6903467ced6eef6a4ea6288138b9421636f92902 /cache-tree.c | |
parent | 5b2f5d92ca5afc118d3fb798c1f25863a5011a01 (diff) |
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>
Diffstat (limited to 'cache-tree.c')
0 files changed, 0 insertions, 0 deletions