]> git.ipfire.org Git - thirdparty/git.git/commit
reflog: rename unreachable
authorbrian m. carlson <sandals@crustytoothpaste.net>
Sun, 17 Nov 2024 01:31:49 +0000 (01:31 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 18 Nov 2024 00:42:08 +0000 (09:42 +0900)
commit639cd8db63b07c958062bde4d3823dadbf469b0b
treebb57035a3dc5554f943973bd1513fac42c1529b5
parente8b3bcf49120309b207b7afc25c4aa81b866ac45
reflog: rename unreachable

In C23, "unreachable" is a macro that invokes undefined behavior if it
is invoked.  To make sure that our code compiles on a variety of C
versions, rename unreachable to "is_unreachable".

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
reflog.c