]> git.ipfire.org Git - thirdparty/git.git/commit
treewide: replace assert() with ASSERT() in special cases
authorElijah Newren <newren@gmail.com>
Wed, 19 Mar 2025 16:22:58 +0000 (16:22 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 21 Mar 2025 10:32:10 +0000 (03:32 -0700)
commit5633aa3af1282cad5161174f17867399e58b2a54
treec48ce7f4c1b215b9df553c61c8e4c300af51f3d9
parent85e4f762c224c52708919a10c9fa5b79e7949564
treewide: replace assert() with ASSERT() in special cases

When the compiler/linker cannot verify that an assert() invocation is
free of side effects for us (e.g. because the assertion includes some
kind of function call), replace the use of assert() with ASSERT().

Signed-off-by: Elijah Newren <newren@gmail.com>
Acked-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diffcore-rename.c
merge-ort.c
merge-recursive.c
object-file.c
parallel-checkout.c
scalar.c
sequencer.c