summaryrefslogtreecommitdiffstats
path: root/merge-ll.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-12-06 11:27:19 +0100
committerJunio C Hamano <gitster@pobox.com>2024-12-06 12:20:02 +0100
commit41f43b8243f42b9df2e98be8460646d4c0100ad3 (patch)
tree27a0fe0c493a3e08af4d502aaad6be01fac69118 /merge-ll.c
parentcompat/win32: fix -Wsign-compare warning in "wWinMain()" (diff)
downloadgit-41f43b8243f42b9df2e98be8460646d4c0100ad3.tar.xz
git-41f43b8243f42b9df2e98be8460646d4c0100ad3.zip
global: mark code units that generate warnings with `-Wsign-compare`
Mark code units that generate warnings with `-Wsign-compare`. This allows for a structured approach to get rid of all such warnings over time in a way that can be easily measured. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'merge-ll.c')
-rw-r--r--merge-ll.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/merge-ll.c b/merge-ll.c
index 62fc625552..b2dc26da4f 100644
--- a/merge-ll.c
+++ b/merge-ll.c
@@ -5,6 +5,7 @@
*/
#define USE_THE_REPOSITORY_VARIABLE
+#define DISABLE_SIGN_COMPARE_WARNINGS
#include "git-compat-util.h"
#include "config.h"