xdiff: use BUG(...), not xdl_bug(...)
commit546096a5cbb4806462d0e8e8fa4a562fc173aa8d
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Mon, 7 Jun 2021 16:43:49 +0000 (7 18:43 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 8 Jun 2021 01:09:28 +0000 (8 10:09 +0900)
treed1e94556f648d5494221e4238f595e0ee11a1328
parent48bf2fa8bad054d66bd79c6ba903c89c704201f7
xdiff: use BUG(...), not xdl_bug(...)

The xdl_bug() function was introduced in
e8adf23d1e (xdl_change_compact(): introduce the concept of a change
group, 2016-08-22), let's use our usual BUG() function instead.

We'll now have meaningful line numbers if we encounter bugs in xdiff,
and less code duplication.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
xdiff/xdiffi.c