]> git.ipfire.org Git - thirdparty/git.git/commit
xdiff: move sign comparison warning guard into each file
authorDavid Aguilar <davvid@gmail.com>
Wed, 12 Feb 2025 06:04:13 +0000 (22:04 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 12 Feb 2025 17:41:15 +0000 (09:41 -0800)
commit9d16f8958467be0162441820d56eb7697453e120
tree3dd5d3773009629ffcb38bd638b3f5235a46e6ab
parent388218fac77d0405a5083cd4b4ee20f6694609c3
xdiff: move sign comparison warning guard into each file

Allow each file to fix the warnings guarded by the macro separately by
moving the definition from the shared xinclude.h into each file that
needs it.

xmerge.c and xprepare.c do not contain any signed vs. unsigned
comparisons so the definition was not included in these files.

Signed-off-by: David Aguilar <davvid@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
xdiff/xemit.c
xdiff/xhistogram.c
xdiff/xinclude.h
xdiff/xpatience.c
xdiff/xutils.c