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>

Patrick Steinhardt committed Dec 6, 2024 at 11:27 UTC 41f43b8243f42b9df2e98be8460646d4c0100ad3
265 files changed +439 -2
add-interactive.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "add-interactive.h"
add-patch.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "add-interactive.h"
advice.c
+2
@@ -1,3 +1,5 @@
1 +#define DISABLE_SIGN_COMPARE_WARNINGS
2 +
3 #include "git-compat-util.h"
4 #include "advice.h"
5 #include "config.h"
apply.c
+1
@@ -8,6 +8,7 @@
8 */
9
10 #define USE_THE_REPOSITORY_VARIABLE
11 +#define DISABLE_SIGN_COMPARE_WARNINGS
12
13 #include "git-compat-util.h"
14 #include "abspath.h"
archive.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "abspath.h"
attr.c
+1
@@ -7,6 +7,7 @@
7 */
8
9 #define USE_THE_REPOSITORY_VARIABLE
10 +#define DISABLE_SIGN_COMPARE_WARNINGS
11
12 #include "git-compat-util.h"
13 #include "config.h"
base85.c
+2
@@ -1,3 +1,5 @@
1 +#define DISABLE_SIGN_COMPARE_WARNINGS
2 +
3 #include "git-compat-util.h"
4 #include "base85.h"
5
bisect.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "config.h"
blame.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "refs.h"
bloom.c
+2
@@ -1,3 +1,5 @@
1 +#define DISABLE_SIGN_COMPARE_WARNINGS
2 +
3 #include "git-compat-util.h"
4 #include "bloom.h"
5 #include "diff.h"
builtin/add.c
+3
@@ -3,6 +3,9 @@
3 *
4 * Copyright (C) 2006 Linus Torvalds
5 */
6 +
7 +#define DISABLE_SIGN_COMPARE_WARNINGS
8 +
9 #include "builtin.h"
10 #include "advice.h"
11 #include "config.h"
builtin/am.c
+2
@@ -5,6 +5,8 @@
5 */
6
7 #define USE_THE_REPOSITORY_VARIABLE
8 +#define DISABLE_SIGN_COMPARE_WARNINGS
9 +
10 #include "builtin.h"
11 #include "abspath.h"
12 #include "advice.h"
builtin/bisect.c
+2
@@ -1,4 +1,6 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3 +
4 #include "builtin.h"
5 #include "copy.h"
6 #include "environment.h"
builtin/blame.c
+3
@@ -4,7 +4,10 @@
4 * Copyright (c) 2006, 2014 by its authors
5 * See COPYING for licensing conditions
6 */
7 +
8 #define USE_THE_REPOSITORY_VARIABLE
9 +#define DISABLE_SIGN_COMPARE_WARNINGS
10 +
11 #include "builtin.h"
12 #include "config.h"
13 #include "color.h"
builtin/branch.c
+3
@@ -4,7 +4,10 @@
4 * Copyright (c) 2006 Kristian Høgsberg <krh@redhat.com>
5 * Based on git-branch.sh by Junio C Hamano.
6 */
7 +
8 #define USE_THE_REPOSITORY_VARIABLE
9 +#define DISABLE_SIGN_COMPARE_WARNINGS
10 +
11 #include "builtin.h"
12 #include "config.h"
13 #include "color.h"
builtin/cat-file.c
+3
@@ -3,7 +3,10 @@
3 *
4 * Copyright (C) Linus Torvalds, 2005
5 */
6 +
7 #define USE_THE_REPOSITORY_VARIABLE
8 +#define DISABLE_SIGN_COMPARE_WARNINGS
9 +
10 #include "builtin.h"
11 #include "config.h"
12 #include "convert.h"
builtin/checkout--worker.c
+2
@@ -1,4 +1,6 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3 +
4 #include "builtin.h"
5 #include "config.h"
6 #include "entry.h"
builtin/checkout-index.c
+3
@@ -4,7 +4,10 @@
4 * Copyright (C) 2005 Linus Torvalds
5 *
6 */
7 +
8 #define USE_THE_REPOSITORY_VARIABLE
9 +#define DISABLE_SIGN_COMPARE_WARNINGS
10 +
11 #include "builtin.h"
12 #include "config.h"
13 #include "gettext.h"
builtin/checkout.c
+2
@@ -1,4 +1,6 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3 +
4 #include "builtin.h"
5 #include "advice.h"
6 #include "branch.h"
builtin/clean.c
+3
@@ -5,7 +5,10 @@
5 *
6 * Based on git-clean.sh by Pavel Roskin
7 */
8 +
9 #define USE_THE_REPOSITORY_VARIABLE
10 +#define DISABLE_SIGN_COMPARE_WARNINGS
11 +
12 #include "builtin.h"
13 #include "abspath.h"
14 #include "config.h"
builtin/clone.c
+3
@@ -7,7 +7,10 @@
7 *
8 * Clone a repository into a different directory that does not yet exist.
9 */
10 +
11 #define USE_THE_REPOSITORY_VARIABLE
12 +#define DISABLE_SIGN_COMPARE_WARNINGS
13 +
14 #include "builtin.h"
15
16 #include "abspath.h"
builtin/commit.c
+3
@@ -4,7 +4,10 @@
4 * Copyright (c) 2007 Kristian Høgsberg <krh@redhat.com>
5 * Based on git-commit.sh by Junio C Hamano and Linus Torvalds
6 */
7 +
8 #define USE_THE_REPOSITORY_VARIABLE
9 +#define DISABLE_SIGN_COMPARE_WARNINGS
10 +
11 #include "builtin.h"
12 #include "advice.h"
13 #include "config.h"
builtin/describe.c
+2
@@ -1,4 +1,6 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3 +
4 #include "builtin.h"
5 #include "config.h"
6 #include "environment.h"
builtin/diff-files.c
+3
@@ -3,7 +3,10 @@
3 *
4 * Copyright (C) Linus Torvalds, 2005
5 */
6 +
7 #define USE_THE_REPOSITORY_VARIABLE
8 +#define DISABLE_SIGN_COMPARE_WARNINGS
9 +
10 #include "builtin.h"
11 #include "config.h"
12 #include "diff.h"
builtin/diff-index.c
+2
@@ -1,4 +1,6 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3 +
4 #include "builtin.h"
5 #include "config.h"
6 #include "diff.h"
builtin/diff-tree.c
+2
@@ -1,4 +1,6 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3 +
4 #include "builtin.h"
5 #include "config.h"
6 #include "diff.h"
builtin/diff.c
+3
@@ -3,7 +3,10 @@
3 *
4 * Copyright (c) 2006 Junio C Hamano
5 */
6 +
7 #define USE_THE_REPOSITORY_VARIABLE
8 +#define DISABLE_SIGN_COMPARE_WARNINGS
9 +
10 #include "builtin.h"
11 #include "config.h"
12 #include "ewah/ewok.h"
builtin/difftool.c
+3
@@ -11,7 +11,10 @@
11 *
12 * Copyright (C) 2016 Johannes Schindelin
13 */
14 +
15 #define USE_THE_REPOSITORY_VARIABLE
16 +#define DISABLE_SIGN_COMPARE_WARNINGS
17 +
18 #include "builtin.h"
19
20 #include "abspath.h"
builtin/fast-export.c
+3
@@ -3,7 +3,10 @@
3 *
4 * Copyright (C) 2007 Johannes E. Schindelin
5 */
6 +
7 #define USE_THE_REPOSITORY_VARIABLE
8 +#define DISABLE_SIGN_COMPARE_WARNINGS
9 +
10 #include "builtin.h"
11 #include "config.h"
12 #include "gettext.h"
builtin/fast-import.c
+2
@@ -1,4 +1,6 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3 +
4 #include "builtin.h"
5 #include "abspath.h"
6 #include "environment.h"
builtin/fetch-pack.c
+2
@@ -1,4 +1,6 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3 +
4 #include "builtin.h"
5 #include "gettext.h"
6 #include "hex.h"
builtin/fetch.c
+3
@@ -1,7 +1,10 @@
1 /*
2 * "git fetch"
3 */
4 +
5 #define USE_THE_REPOSITORY_VARIABLE
6 +#define DISABLE_SIGN_COMPARE_WARNINGS
7 +
8 #include "builtin.h"
9 #include "advice.h"
10 #include "config.h"
builtin/for-each-repo.c
+2
@@ -1,4 +1,6 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3 +
4 #include "builtin.h"
5 #include "config.h"
6 #include "gettext.h"
builtin/fsmonitor--daemon.c
+2
@@ -1,4 +1,6 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3 +
4 #include "builtin.h"
5 #include "abspath.h"
6 #include "config.h"
builtin/gc.c
+3
@@ -9,7 +9,10 @@
9 *
10 * Copyright (c) 2006 Shawn O. Pearce
11 */
12 +
13 #define USE_THE_REPOSITORY_VARIABLE
14 +#define DISABLE_SIGN_COMPARE_WARNINGS
15 +
16 #include "builtin.h"
17 #include "abspath.h"
18 #include "date.h"
builtin/grep.c
+3
@@ -3,7 +3,10 @@
3 *
4 * Copyright (c) 2006 Junio C Hamano
5 */
6 +
7 #define USE_THE_REPOSITORY_VARIABLE
8 +#define DISABLE_SIGN_COMPARE_WARNINGS
9 +
10 #include "builtin.h"
11 #include "abspath.h"
12 #include "gettext.h"
builtin/help.c
+3 -1
@@ -1,8 +1,10 @@
1 -
1 /*
2 * Builtin help command
3 */
4 +
5 #define USE_THE_REPOSITORY_VARIABLE
6 +#define DISABLE_SIGN_COMPARE_WARNINGS
7 +
8 #include "builtin.h"
9 #include "config.h"
10 #include "exec-cmd.h"
builtin/index-pack.c
+2
@@ -1,4 +1,6 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3 +
4 #include "builtin.h"
5 #include "config.h"
6 #include "delta.h"
builtin/log.c
+3
@@ -4,7 +4,10 @@
4 * (C) Copyright 2006 Linus Torvalds
5 * 2006 Junio Hamano
6 */
7 +
8 #define USE_THE_REPOSITORY_VARIABLE
9 +#define DISABLE_SIGN_COMPARE_WARNINGS
10 +
11 #include "builtin.h"
12 #include "abspath.h"
13 #include "config.h"
builtin/ls-files.c
+3
@@ -5,7 +5,10 @@
5 *
6 * Copyright (C) Linus Torvalds, 2005
7 */
8 +
9 #define USE_THE_REPOSITORY_VARIABLE
10 +#define DISABLE_SIGN_COMPARE_WARNINGS
11 +
12 #include "builtin.h"
13 #include "config.h"
14 #include "convert.h"
builtin/mailsplit.c
+3
@@ -4,6 +4,9 @@
4 * It just splits a mbox into a list of files: "0001" "0002" ..
5 * so you can process them further from there.
6 */
7 +
8 +#define DISABLE_SIGN_COMPARE_WARNINGS
9 +
10 #include "builtin.h"
11 #include "gettext.h"
12 #include "string-list.h"
builtin/merge-file.c
+2
@@ -1,4 +1,6 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3 +
4 #include "builtin.h"
5 #include "abspath.h"
6 #include "diff.h"
builtin/merge-index.c
+2
@@ -1,4 +1,6 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3 +
4 #include "builtin.h"
5 #include "hex.h"
6 #include "read-cache-ll.h"
builtin/merge-ours.c
+3
@@ -7,7 +7,10 @@
7 *
8 * Pretend we resolved the heads, but declare our tree trumps everybody else.
9 */
10 +
11 #define USE_THE_REPOSITORY_VARIABLE
12 +#define DISABLE_SIGN_COMPARE_WARNINGS
13 +
14 #include "git-compat-util.h"
15 #include "builtin.h"
16 #include "diff.h"
builtin/merge-tree.c
+2
@@ -1,4 +1,6 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3 +
4 #include "builtin.h"
5 #include "tree-walk.h"
6 #include "xdiff-interface.h"
builtin/merge.c
+3
@@ -5,7 +5,10 @@
5 *
6 * Based on git-merge.sh by Junio C Hamano.
7 */
8 +
9 #define USE_THE_REPOSITORY_VARIABLE
10 +#define DISABLE_SIGN_COMPARE_WARNINGS
11 +
12 #include "builtin.h"
13
14 #include "abspath.h"
builtin/mv.c
+2
@@ -3,7 +3,9 @@
3 *
4 * Copyright (C) 2006 Johannes Schindelin
5 */
6 +
7 #define USE_THE_REPOSITORY_VARIABLE
8 +#define DISABLE_SIGN_COMPARE_WARNINGS
9
10 #include "builtin.h"
11 #include "abspath.h"
builtin/name-rev.c
+2
@@ -1,4 +1,6 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3 +
4 #include "builtin.h"
5 #include "environment.h"
6 #include "gettext.h"
builtin/pack-objects.c
+2
@@ -1,4 +1,6 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3 +
4 #include "builtin.h"
5 #include "environment.h"
6 #include "gettext.h"
builtin/pack-redundant.c
+2
@@ -5,7 +5,9 @@
5 * This file is licensed under the GPL v2.
6 *
7 */
8 +
9 #define USE_THE_REPOSITORY_VARIABLE
10 +#define DISABLE_SIGN_COMPARE_WARNINGS
11
12 #include "builtin.h"
13 #include "gettext.h"
builtin/pack-refs.c
+2
@@ -1,4 +1,6 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3 +
4 #include "builtin.h"
5 #include "config.h"
6 #include "gettext.h"
builtin/patch-id.c
+2
@@ -1,4 +1,6 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3 +
4 #include "builtin.h"
5 #include "config.h"
6 #include "diff.h"
builtin/prune.c
+2
@@ -1,4 +1,6 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3 +
4 #include "builtin.h"
5 #include "commit.h"
6 #include "diff.h"
builtin/pull.c
+2
@@ -7,6 +7,8 @@
7 */
8
9 #define USE_THE_REPOSITORY_VARIABLE
10 +#define DISABLE_SIGN_COMPARE_WARNINGS
11 +
12 #include "builtin.h"
13 #include "advice.h"
14 #include "config.h"
builtin/push.c
+3
@@ -1,7 +1,10 @@
1 /*
2 * "git push"
3 */
4 +
5 #define USE_THE_REPOSITORY_VARIABLE
6 +#define DISABLE_SIGN_COMPARE_WARNINGS
7 +
8 #include "builtin.h"
9 #include "advice.h"
10 #include "branch.h"
builtin/range-diff.c
+2
@@ -1,4 +1,6 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3 +
4 #include "builtin.h"
5 #include "gettext.h"
6 #include "object-name.h"
builtin/rebase.c
+3
@@ -3,7 +3,10 @@
3 *
4 * Copyright (c) 2018 Pratik Karki
5 */
6 +
7 #define USE_THE_REPOSITORY_VARIABLE
8 +#define DISABLE_SIGN_COMPARE_WARNINGS
9 +
10 #include "builtin.h"
11
12 #include "abspath.h"
builtin/receive-pack.c
+2
@@ -1,4 +1,6 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3 +
4 #include "builtin.h"
5 #include "abspath.h"
6
builtin/reflog.c
+2
@@ -1,4 +1,6 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3 +
4 #include "builtin.h"
5 #include "config.h"
6 #include "gettext.h"
builtin/remote.c
+2
@@ -1,4 +1,6 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3 +
4 #include "builtin.h"
5 #include "config.h"
6 #include "gettext.h"
builtin/repack.c
+2
@@ -1,4 +1,6 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3 +
4 #include "builtin.h"
5 #include "config.h"
6 #include "dir.h"
builtin/replay.c
+3 -1
@@ -2,9 +2,11 @@
2 * "git replay" builtin command
3 */
4
5 +#define USE_THE_REPOSITORY_VARIABLE
6 +#define DISABLE_SIGN_COMPARE_WARNINGS
7 +
8 #include "git-compat-util.h"
9
7 -#define USE_THE_REPOSITORY_VARIABLE
10 #include "builtin.h"
11 #include "environment.h"
12 #include "hex.h"
builtin/rerere.c
+2
@@ -1,4 +1,6 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3 +
4 #include "builtin.h"
5 #include "config.h"
6 #include "gettext.h"
builtin/reset.c
+3
@@ -7,7 +7,10 @@
7 *
8 * Copyright (c) 2005, 2006 Linus Torvalds and Junio C Hamano
9 */
10 +
11 #define USE_THE_REPOSITORY_VARIABLE
12 +#define DISABLE_SIGN_COMPARE_WARNINGS
13 +
14 #include "builtin.h"
15 #include "advice.h"
16 #include "config.h"
builtin/rev-list.c
+2
@@ -1,4 +1,6 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3 +
4 #include "builtin.h"
5 #include "config.h"
6 #include "commit.h"
builtin/rev-parse.c
+3
@@ -3,7 +3,10 @@
3 *
4 * Copyright (C) Linus Torvalds, 2005
5 */
6 +
7 #define USE_THE_REPOSITORY_VARIABLE
8 +#define DISABLE_SIGN_COMPARE_WARNINGS
9 +
10 #include "builtin.h"
11
12 #include "abspath.h"
builtin/revert.c
+2
@@ -1,4 +1,6 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3 +
4 #include "git-compat-util.h"
5 #include "builtin.h"
6 #include "parse-options.h"
builtin/rm.c
+3
@@ -3,7 +3,10 @@
3 *
4 * Copyright (C) Linus Torvalds 2006
5 */
6 +
7 #define USE_THE_REPOSITORY_VARIABLE
8 +#define DISABLE_SIGN_COMPARE_WARNINGS
9 +
10 #include "builtin.h"
11 #include "advice.h"
12 #include "config.h"
builtin/shortlog.c
+2
@@ -1,4 +1,6 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3 +
4 #include "builtin.h"
5 #include "config.h"
6 #include "commit.h"
builtin/show-branch.c
+2
@@ -1,4 +1,6 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3 +
4 #include "builtin.h"
5 #include "config.h"
6 #include "environment.h"
builtin/show-index.c
+2
@@ -1,4 +1,6 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3 +
4 #include "builtin.h"
5 #include "gettext.h"
6 #include "hash.h"
builtin/sparse-checkout.c
+2
@@ -1,4 +1,6 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3 +
4 #include "builtin.h"
5 #include "config.h"
6 #include "dir.h"
builtin/stash.c
+2
@@ -1,4 +1,6 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3 +
4 #include "builtin.h"
5 #include "abspath.h"
6 #include "config.h"
builtin/submodule--helper.c
+2
@@ -1,4 +1,6 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3 +
4 #include "builtin.h"
5 #include "abspath.h"
6 #include "environment.h"
builtin/tag.c
+3
@@ -5,7 +5,10 @@
5 * Carlos Rica <jasampler@gmail.com>
6 * Based on git-tag.sh and mktag.c by Linus Torvalds.
7 */
8 +
9 #define USE_THE_REPOSITORY_VARIABLE
10 +#define DISABLE_SIGN_COMPARE_WARNINGS
11 +
12 #include "builtin.h"
13 #include "advice.h"
14 #include "config.h"
builtin/unpack-objects.c
+2
@@ -1,4 +1,6 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3 +
4 #include "builtin.h"
5 #include "bulk-checkin.h"
6 #include "config.h"
builtin/update-index.c
+3
@@ -3,7 +3,10 @@
3 *
4 * Copyright (C) Linus Torvalds, 2005
5 */
6 +
7 #define USE_THE_REPOSITORY_VARIABLE
8 +#define DISABLE_SIGN_COMPARE_WARNINGS
9 +
10 #include "builtin.h"
11 #include "bulk-checkin.h"
12 #include "config.h"
builtin/update-ref.c
+2
@@ -1,4 +1,6 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3 +
4 #include "builtin.h"
5 #include "config.h"
6 #include "gettext.h"
builtin/var.c
+3
@@ -3,7 +3,10 @@
3 *
4 * Copyright (C) Eric Biederman, 2005
5 */
6 +
7 #define USE_THE_REPOSITORY_VARIABLE
8 +#define DISABLE_SIGN_COMPARE_WARNINGS
9 +
10 #include "builtin.h"
11
12 #include "attr.h"
builtin/worktree.c
+2
@@ -1,4 +1,6 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3 +
4 #include "builtin.h"
5 #include "abspath.h"
6 #include "advice.h"
bulk-checkin.c
+1
@@ -3,6 +3,7 @@
3 */
4
5 #define USE_THE_REPOSITORY_VARIABLE
6 +#define DISABLE_SIGN_COMPARE_WARNINGS
7
8 #include "git-compat-util.h"
9 #include "bulk-checkin.h"
bundle-uri.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "bundle-uri.h"
bundle.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "lockfile.h"
cache-tree.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "gettext.h"
chunk-format.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "chunk-format.h"
color.c
+2
@@ -1,3 +1,5 @@
1 +#define DISABLE_SIGN_COMPARE_WARNINGS
2 +
3 #include "git-compat-util.h"
4 #include "config.h"
5 #include "color.h"
column.c
+2
@@ -1,3 +1,5 @@
1 +#define DISABLE_SIGN_COMPARE_WARNINGS
2 +
3 #include "git-compat-util.h"
4 #include "config.h"
5 #include "column.h"
combine-diff.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "object-store-ll.h"
commit-graph.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "config.h"
commit-reach.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "commit.h"
commit.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "tag.h"
compat/fsmonitor/fsm-listen-darwin.c
+2
@@ -23,6 +23,8 @@
23 #endif
24 #endif
25
26 +#define DISABLE_SIGN_COMPARE_WARNINGS
27 +
28 #include "git-compat-util.h"
29 #include "fsmonitor-ll.h"
30 #include "fsm-listen.h"
compat/mingw.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "../git-compat-util.h"
5 #include "win32.h"
compat/poll/poll.c
+2
@@ -18,6 +18,8 @@
18 You should have received a copy of the GNU General Public License along
19 with this program; if not, see <http://www.gnu.org/licenses/>. */
20
21 +#define DISABLE_SIGN_COMPARE_WARNINGS
22 +
23 /* To bump the minimum Windows version to Windows Vista */
24 #include "git-compat-util.h"
25
compat/terminal.c
+2
@@ -1,3 +1,5 @@
1 +#define DISABLE_SIGN_COMPARE_WARNINGS
2 +
3 #include "git-compat-util.h"
4 #include "compat/terminal.h"
5 #include "gettext.h"
compat/win32mmap.c
+2
@@ -1,3 +1,5 @@
1 +#define DISABLE_SIGN_COMPARE_WARNINGS
2 +
3 #include "../git-compat-util.h"
4
5 void *git_mmap(void *start, size_t length, int prot, int flags, int fd, off_t offset)
compat/winansi.c
+2
@@ -4,6 +4,8 @@
4
5 #undef NOGDI
6
7 +#define DISABLE_SIGN_COMPARE_WARNINGS
8 +
9 #include "../git-compat-util.h"
10 #include <wingdi.h>
11 #include <winreg.h>
config.c
+1
@@ -7,6 +7,7 @@
7 */
8
9 #define USE_THE_REPOSITORY_VARIABLE
10 +#define DISABLE_SIGN_COMPARE_WARNINGS
11
12 #include "git-compat-util.h"
13 #include "abspath.h"
connect.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "config.h"
convert.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "advice.h"
credential.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "abspath.h"
csum-file.c
+1
@@ -9,6 +9,7 @@
9 */
10
11 #define USE_THE_REPOSITORY_VARIABLE
12 +#define DISABLE_SIGN_COMPARE_WARNINGS
13
14 #include "git-compat-util.h"
15 #include "progress.h"
daemon.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "abspath.h"
date.c
+2
@@ -4,6 +4,8 @@
4 * Copyright (C) Linus Torvalds, 2005
5 */
6
7 +#define DISABLE_SIGN_COMPARE_WARNINGS
8 +
9 #include "git-compat-util.h"
10 #include "date.h"
11 #include "gettext.h"
decorate.c
+3
@@ -2,6 +2,9 @@
2 * decorate.c - decorate a git object with some arbitrary
3 * data.
4 */
5 +
6 +#define DISABLE_SIGN_COMPARE_WARNINGS
7 +
8 #include "git-compat-util.h"
9 #include "object.h"
10 #include "decorate.h"
delta-islands.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "object.h"
diagnose.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "diagnose.h"
diff-delta.c
+2
@@ -11,6 +11,8 @@
11 * published by the Free Software Foundation.
12 */
13
14 +#define DISABLE_SIGN_COMPARE_WARNINGS
15 +
16 #include "git-compat-util.h"
17 #include "delta.h"
18
diff-lib.c
+1
@@ -3,6 +3,7 @@
3 */
4
5 #define USE_THE_REPOSITORY_VARIABLE
6 +#define DISABLE_SIGN_COMPARE_WARNINGS
7
8 #include "git-compat-util.h"
9 #include "commit.h"
diff-merges.c
+2
@@ -1,3 +1,5 @@
1 +#define DISABLE_SIGN_COMPARE_WARNINGS
2 +
3 #include "git-compat-util.h"
4 #include "diff-merges.h"
5
diff-no-index.c
+2
@@ -4,6 +4,8 @@
4 * Copyright (c) 2008 by Junio C Hamano
5 */
6
7 +#define DISABLE_SIGN_COMPARE_WARNINGS
8 +
9 #include "git-compat-util.h"
10 #include "abspath.h"
11 #include "color.h"
diff.c
+1
@@ -3,6 +3,7 @@
3 */
4
5 #define USE_THE_REPOSITORY_VARIABLE
6 +#define DISABLE_SIGN_COMPARE_WARNINGS
7
8 #include "git-compat-util.h"
9 #include "abspath.h"
diffcore-order.c
+3
@@ -1,6 +1,9 @@
1 /*
2 * Copyright (C) 2005 Junio C Hamano
3 */
4 +
5 +#define DISABLE_SIGN_COMPARE_WARNINGS
6 +
7 #include "git-compat-util.h"
8 #include "gettext.h"
9 #include "diff.h"
diffcore-pickaxe.c
+3
@@ -2,6 +2,9 @@
2 * Copyright (C) 2005 Junio C Hamano
3 * Copyright (C) 2010 Google Inc.
4 */
5 +
6 +#define DISABLE_SIGN_COMPARE_WARNINGS
7 +
8 #include "git-compat-util.h"
9 #include "diff.h"
10 #include "diffcore.h"
diffcore-rename.c
+1
@@ -4,6 +4,7 @@
4 */
5
6 #define USE_THE_REPOSITORY_VARIABLE
7 +#define DISABLE_SIGN_COMPARE_WARNINGS
8
9 #include "git-compat-util.h"
10 #include "diff.h"
diffcore-rotate.c
+3
@@ -2,6 +2,9 @@
2 * Copyright (C) 2021, Google LLC.
3 * Based on diffcore-order.c, which is Copyright (C) 2005, Junio C Hamano
4 */
5 +
6 +#define DISABLE_SIGN_COMPARE_WARNINGS
7 +
8 #include "git-compat-util.h"
9 #include "gettext.h"
10 #include "diff.h"
dir.c
+1
@@ -7,6 +7,7 @@
7 */
8
9 #define USE_THE_REPOSITORY_VARIABLE
10 +#define DISABLE_SIGN_COMPARE_WARNINGS
11
12 #include "git-compat-util.h"
13 #include "abspath.h"
entry.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "object-store-ll.h"
ewah/ewah_bitmap.c
+3
@@ -16,6 +16,9 @@
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, see <http://www.gnu.org/licenses/>.
18 */
19 +
20 +#define DISABLE_SIGN_COMPARE_WARNINGS
21 +
22 #include "git-compat-util.h"
23 #include "ewok.h"
24 #include "ewok_rlw.h"
ewah/ewah_io.c
+3
@@ -16,6 +16,9 @@
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, see <http://www.gnu.org/licenses/>.
18 */
19 +
20 +#define DISABLE_SIGN_COMPARE_WARNINGS
21 +
22 #include "git-compat-util.h"
23 #include "ewok.h"
24 #include "strbuf.h"
ewah/ewah_rlw.c
+3
@@ -16,6 +16,9 @@
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, see <http://www.gnu.org/licenses/>.
18 */
19 +
20 +#define DISABLE_SIGN_COMPARE_WARNINGS
21 +
22 #include "git-compat-util.h"
23 #include "ewok.h"
24 #include "ewok_rlw.h"
fetch-pack.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "repository.h"
fmt-merge-msg.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "config.h"
fsmonitor.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "config.h"
gettext.c
+2
@@ -2,6 +2,8 @@
2 * Copyright (c) 2010 Ævar Arnfjörð Bjarmason
3 */
4
5 +#define DISABLE_SIGN_COMPARE_WARNINGS
6 +
7 #include "git-compat-util.h"
8 #include "abspath.h"
9 #include "environment.h"
git.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "builtin.h"
5 #include "config.h"
gpg-interface.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "commit.h"
graph.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "gettext.h"
grep.c
+2
@@ -1,3 +1,5 @@
1 +#define DISABLE_SIGN_COMPARE_WARNINGS
2 +
3 #include "git-compat-util.h"
4 #include "config.h"
5 #include "gettext.h"
help.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "config.h"
hex.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "hash.h"
http-backend.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "config.h"
http-push.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "environment.h"
http-walker.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "repository.h"
http.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "git-curl-compat.h"
imap-send.c
+1
@@ -22,6 +22,7 @@
22 */
23
24 #define USE_THE_REPOSITORY_VARIABLE
25 +#define DISABLE_SIGN_COMPARE_WARNINGS
26
27 #include "git-compat-util.h"
28 #include "config.h"
json-writer.c
+2
@@ -1,3 +1,5 @@
1 +#define DISABLE_SIGN_COMPARE_WARNINGS
2 +
3 #include "git-compat-util.h"
4 #include "json-writer.h"
5
kwset.c
+2
@@ -32,6 +32,8 @@
32 String Matching: An Aid to Bibliographic Search," CACM June 1975,
33 Vol. 18, No. 6, which describes the failure function used below. */
34
35 +#define DISABLE_SIGN_COMPARE_WARNINGS
36 +
37 #include "git-compat-util.h"
38
39 #include "kwset.h"
line-log.c
+2
@@ -1,3 +1,5 @@
1 +#define DISABLE_SIGN_COMPARE_WARNINGS
2 +
3 #include "git-compat-util.h"
4 #include "diffcore.h"
5 #include "line-range.h"
list-objects-filter-options.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "config.h"
list-objects-filter.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "dir.h"
list-objects.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "tag.h"
log-tree.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "commit-reach.h"
ls-refs.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "environment.h"
mailinfo.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "config.h"
mailmap.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "environment.h"
match-trees.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "hex.h"
mem-pool.c
+2
@@ -2,6 +2,8 @@
2 * Memory Pool implementation logic.
3 */
4
5 +#define DISABLE_SIGN_COMPARE_WARNINGS
6 +
7 #include "git-compat-util.h"
8 #include "mem-pool.h"
9 #include "gettext.h"
merge-ll.c
+1
@@ -5,6 +5,7 @@
5 */
6
7 #define USE_THE_REPOSITORY_VARIABLE
8 +#define DISABLE_SIGN_COMPARE_WARNINGS
9
10 #include "git-compat-util.h"
11 #include "config.h"
merge-ort.c
+1
@@ -15,6 +15,7 @@
15 */
16
17 #define USE_THE_REPOSITORY_VARIABLE
18 +#define DISABLE_SIGN_COMPARE_WARNINGS
19
20 #include "git-compat-util.h"
21 #include "merge-ort.h"
merge-recursive.c
+1
@@ -5,6 +5,7 @@
5 */
6
7 #define USE_THE_REPOSITORY_VARIABLE
8 +#define DISABLE_SIGN_COMPARE_WARNINGS
9
10 #include "git-compat-util.h"
11 #include "merge-recursive.h"
merge.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "gettext.h"
midx-write.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "abspath.h"
midx.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "config.h"
name-hash.c
+1
@@ -7,6 +7,7 @@
7 */
8
9 #define USE_THE_REPOSITORY_VARIABLE
10 +#define DISABLE_SIGN_COMPARE_WARNINGS
11
12 #include "git-compat-util.h"
13 #include "environment.h"
notes-merge.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "advice.h"
notes.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "config.h"
object-file-convert.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "gettext.h"
object-file.c
+1
@@ -8,6 +8,7 @@
8 */
9
10 #define USE_THE_REPOSITORY_VARIABLE
11 +#define DISABLE_SIGN_COMPARE_WARNINGS
12
13 #include "git-compat-util.h"
14 #include "abspath.h"
object-name.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "object-name.h"
object.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "gettext.h"
pack-bitmap-write.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "environment.h"
pack-bitmap.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "commit.h"
pack-check.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "environment.h"
packfile.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "environment.h"
parallel-checkout.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "config.h"
patch-ids.c
+2
@@ -1,3 +1,5 @@
1 +#define DISABLE_SIGN_COMPARE_WARNINGS
2 +
3 #include "git-compat-util.h"
4 #include "diff.h"
5 #include "commit.h"
path.c
+1
@@ -3,6 +3,7 @@
3 */
4
5 #define USE_THE_REPOSITORY_VARIABLE
6 +#define DISABLE_SIGN_COMPARE_WARNINGS
7
8 #include "git-compat-util.h"
9 #include "abspath.h"
pathspec.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "abspath.h"
pkt-line.c
+2
@@ -1,3 +1,5 @@
1 +#define DISABLE_SIGN_COMPARE_WARNINGS
2 +
3 #include "git-compat-util.h"
4 #include "copy.h"
5 #include "pkt-line.h"
preload-index.c
+1
@@ -3,6 +3,7 @@
3 */
4
5 #define USE_THE_REPOSITORY_VARIABLE
6 +#define DISABLE_SIGN_COMPARE_WARNINGS
7
8 #include "git-compat-util.h"
9 #include "pathspec.h"
pretty.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "config.h"
progress.c
+1
@@ -10,6 +10,7 @@
10
11 #define GIT_TEST_PROGRESS_ONLY
12 #define USE_THE_REPOSITORY_VARIABLE
13 +#define DISABLE_SIGN_COMPARE_WARNINGS
14
15 #include "git-compat-util.h"
16 #include "pager.h"
pseudo-merge.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "pseudo-merge.h"
quote.c
+2
@@ -1,3 +1,5 @@
1 +#define DISABLE_SIGN_COMPARE_WARNINGS
2 +
3 #include "git-compat-util.h"
4 #include "path.h"
5 #include "quote.h"
range-diff.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "environment.h"
reachable.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "gettext.h"
read-cache.c
+1
@@ -5,6 +5,7 @@
5 */
6
7 #define USE_THE_REPOSITORY_VARIABLE
8 +#define DISABLE_SIGN_COMPARE_WARNINGS
9
10 #include "git-compat-util.h"
11 #include "bulk-checkin.h"
ref-filter.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "environment.h"
reflog-walk.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "commit.h"
reflog.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "gettext.h"
refs.c
+1
@@ -3,6 +3,7 @@
3 */
4
5 #define USE_THE_REPOSITORY_VARIABLE
6 +#define DISABLE_SIGN_COMPARE_WARNINGS
7
8 #include "git-compat-util.h"
9 #include "advice.h"
refs/debug.c
+2
@@ -1,3 +1,5 @@
1 +#define DISABLE_SIGN_COMPARE_WARNINGS
2 +
3 #include "git-compat-util.h"
4 #include "hex.h"
5 #include "refs-internal.h"
refs/files-backend.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "../git-compat-util.h"
5 #include "../abspath.h"
refs/iterator.c
+2
@@ -3,6 +3,8 @@
3 * documentation about the design and use of reference iterators.
4 */
5
6 +#define DISABLE_SIGN_COMPARE_WARNINGS
7 +
8 #include "git-compat-util.h"
9 #include "refs.h"
10 #include "refs/refs-internal.h"
refs/packed-backend.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "../git-compat-util.h"
5 #include "../config.h"
refspec.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "gettext.h"
reftable/system.h
+2
@@ -11,6 +11,8 @@ https://developers.google.com/open-source/licenses/bsd
11
12 /* This header glues the reftable library to the rest of Git */
13
14 +#define DISABLE_SIGN_COMPARE_WARNINGS
15 +
16 #include "git-compat-util.h"
17 #include "lockfile.h"
18 #include "tempfile.h"
remote-curl.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "git-curl-compat.h"
remote.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "abspath.h"
rerere.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "abspath.h"
resolve-undo.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "dir.h"
revision.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "config.h"
run-command.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "run-command.h"
scalar.c
+1
@@ -3,6 +3,7 @@
3 */
4
5 #define USE_THE_REPOSITORY_VARIABLE
6 +#define DISABLE_SIGN_COMPARE_WARNINGS
7
8 #include "git-compat-util.h"
9 #include "abspath.h"
send-pack.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "config.h"
sequencer.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "abspath.h"
serve.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "repository.h"
server-info.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "dir.h"
setup.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "abspath.h"
shallow.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "hex.h"
sideband.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "color.h"
sparse-index.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "environment.h"
split-index.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "gettext.h"
strbuf.c
+2
@@ -1,3 +1,5 @@
1 +#define DISABLE_SIGN_COMPARE_WARNINGS
2 +
3 #include "git-compat-util.h"
4 #include "gettext.h"
5 #include "hex-ll.h"
string-list.c
+2
@@ -1,3 +1,5 @@
1 +#define DISABLE_SIGN_COMPARE_WARNINGS
2 +
3 #include "git-compat-util.h"
4 #include "string-list.h"
5
strvec.c
+2
@@ -1,3 +1,5 @@
1 +#define DISABLE_SIGN_COMPARE_WARNINGS
2 +
3 #include "git-compat-util.h"
4 #include "strvec.h"
5 #include "strbuf.h"
submodule-config.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "dir.h"
submodule.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "abspath.h"
symlinks.c
+2
@@ -1,3 +1,5 @@
1 +#define DISABLE_SIGN_COMPARE_WARNINGS
2 +
3 #include "git-compat-util.h"
4 #include "gettext.h"
5 #include "setup.h"
t/helper/test-bloom.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "test-tool.h"
5 #include "bloom.h"
t/helper/test-cache-tree.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "test-tool.h"
5 #include "gettext.h"
t/helper/test-config.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "test-tool.h"
5 #include "config.h"
t/helper/test-csprng.c
+2
@@ -1,3 +1,5 @@
1 +#define DISABLE_SIGN_COMPARE_WARNINGS
2 +
3 #include "test-tool.h"
4 #include "git-compat-util.h"
5
t/helper/test-drop-caches.c
+2
@@ -1,3 +1,5 @@
1 +#define DISABLE_SIGN_COMPARE_WARNINGS
2 +
3 #include "test-tool.h"
4 #include "git-compat-util.h"
5
t/helper/test-dump-fsmonitor.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "test-tool.h"
5 #include "read-cache-ll.h"
t/helper/test-dump-split-index.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "test-tool.h"
5 #include "hex.h"
t/helper/test-dump-untracked-cache.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "test-tool.h"
5 #include "dir.h"
t/helper/test-genrandom.c
+2
@@ -4,6 +4,8 @@
4 * Copyright (C) 2007 by Nicolas Pitre, licensed under the GPL version 2.
5 */
6
7 +#define DISABLE_SIGN_COMPARE_WARNINGS
8 +
9 #include "test-tool.h"
10 #include "git-compat-util.h"
11
t/helper/test-genzeros.c
+2
@@ -1,3 +1,5 @@
1 +#define DISABLE_SIGN_COMPARE_WARNINGS
2 +
3 #include "test-tool.h"
4 #include "git-compat-util.h"
5
t/helper/test-hash-speed.c
+2
@@ -1,3 +1,5 @@
1 +#define DISABLE_SIGN_COMPARE_WARNINGS
2 +
3 #include "test-tool.h"
4 #include "hash.h"
5
t/helper/test-mergesort.c
+2
@@ -1,3 +1,5 @@
1 +#define DISABLE_SIGN_COMPARE_WARNINGS
2 +
3 #include "test-tool.h"
4 #include "mem-pool.h"
5 #include "mergesort.h"
t/helper/test-parse-options.c
+2
@@ -1,3 +1,5 @@
1 +#define DISABLE_SIGN_COMPARE_WARNINGS
2 +
3 #include "test-tool.h"
4 #include "parse-options.h"
5 #include "strbuf.h"
t/helper/test-path-utils.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "test-tool.h"
5 #include "abspath.h"
t/helper/test-reach.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "test-tool.h"
5 #include "commit.h"
t/helper/test-ref-store.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "test-tool.h"
5 #include "hex.h"
t/helper/test-revision-walking.c
+1
@@ -9,6 +9,7 @@
9 */
10
11 #define USE_THE_REPOSITORY_VARIABLE
12 +#define DISABLE_SIGN_COMPARE_WARNINGS
13
14 #include "test-tool.h"
15 #include "commit.h"
t/helper/test-run-command.c
+2
@@ -8,6 +8,8 @@
8 * published by the Free Software Foundation.
9 */
10
11 +#define DISABLE_SIGN_COMPARE_WARNINGS
12 +
13 #include "test-tool.h"
14 #include "run-command.h"
15 #include "strvec.h"
t/helper/test-string-list.c
+2
@@ -1,3 +1,5 @@
1 +#define DISABLE_SIGN_COMPARE_WARNINGS
2 +
3 #include "test-tool.h"
4 #include "strbuf.h"
5 #include "string-list.h"
t/helper/test-tool.c
+2
@@ -1,3 +1,5 @@
1 +#define DISABLE_SIGN_COMPARE_WARNINGS
2 +
3 #include "git-compat-util.h"
4 #include "test-tool.h"
5 #include "test-tool-utils.h"
t/helper/test-trace2.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "test-tool.h"
5 #include "strvec.h"
t/unit-tests/lib-reftable.c
+2
@@ -1,3 +1,5 @@
1 +#define DISABLE_SIGN_COMPARE_WARNINGS
2 +
3 #include "lib-reftable.h"
4 #include "test-lib.h"
5 #include "reftable/constants.h"
t/unit-tests/t-example-decorate.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "test-lib.h"
5 #include "object.h"
t/unit-tests/t-prio-queue.c
+2
@@ -1,3 +1,5 @@
1 +#define DISABLE_SIGN_COMPARE_WARNINGS
2 +
3 #include "test-lib.h"
4 #include "prio-queue.h"
5
t/unit-tests/t-reftable-readwrite.c
+2
@@ -6,6 +6,8 @@ license that can be found in the LICENSE file or at
6 https://developers.google.com/open-source/licenses/bsd
7 */
8
9 +#define DISABLE_SIGN_COMPARE_WARNINGS
10 +
11 #include "test-lib.h"
12 #include "lib-reftable.h"
13 #include "reftable/basics.h"
t/unit-tests/t-reftable-stack.c
+2
@@ -6,6 +6,8 @@ license that can be found in the LICENSE file or at
6 https://developers.google.com/open-source/licenses/bsd
7 */
8
9 +#define DISABLE_SIGN_COMPARE_WARNINGS
10 +
11 #include "test-lib.h"
12 #include "lib-reftable.h"
13 #include "reftable/merged.h"
t/unit-tests/t-trailer.c
+2
@@ -1,3 +1,5 @@
1 +#define DISABLE_SIGN_COMPARE_WARNINGS
2 +
3 #include "test-lib.h"
4 #include "trailer.h"
5
t/unit-tests/test-lib.c
+2
@@ -1,3 +1,5 @@
1 +#define DISABLE_SIGN_COMPARE_WARNINGS
2 +
3 #include "test-lib.h"
4
5 enum result {
tag.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "environment.h"
tmp-objdir.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "tmp-objdir.h"
trace.c
+1
@@ -22,6 +22,7 @@
22 */
23
24 #define USE_THE_REPOSITORY_VARIABLE
25 +#define DISABLE_SIGN_COMPARE_WARNINGS
26
27 #include "git-compat-util.h"
28 #include "abspath.h"
trace2.c
+2
@@ -1,3 +1,5 @@
1 +#define DISABLE_SIGN_COMPARE_WARNINGS
2 +
3 #include "git-compat-util.h"
4 #include "config.h"
5 #include "repository.h"
trace2/tr2_sysenv.c
+2
@@ -1,3 +1,5 @@
1 +#define DISABLE_SIGN_COMPARE_WARNINGS
2 +
3 #include "git-compat-util.h"
4 #include "config.h"
5 #include "dir.h"
trace2/tr2_tgt_event.c
+2
@@ -1,3 +1,5 @@
1 +#define DISABLE_SIGN_COMPARE_WARNINGS
2 +
3 #include "git-compat-util.h"
4 #include "config.h"
5 #include "json-writer.h"
trace2/tr2_tgt_perf.c
+2
@@ -1,3 +1,5 @@
1 +#define DISABLE_SIGN_COMPARE_WARNINGS
2 +
3 #include "git-compat-util.h"
4 #include "config.h"
5 #include "repository.h"
trailer.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "config.h"
transport-helper.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "transport.h"
transport.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "advice.h"
tree-diff.c
+1
@@ -3,6 +3,7 @@
3 */
4
5 #define USE_THE_REPOSITORY_VARIABLE
6 +#define DISABLE_SIGN_COMPARE_WARNINGS
7
8 #include "git-compat-util.h"
9 #include "diff.h"
unix-socket.c
+2
@@ -1,3 +1,5 @@
1 +#define DISABLE_SIGN_COMPARE_WARNINGS
2 +
3 #include "git-compat-util.h"
4 #include "strbuf.h"
5 #include "unix-socket.h"
unpack-trees.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "advice.h"
upload-pack.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "config.h"
urlmatch.c
+2
@@ -1,3 +1,5 @@
1 +#define DISABLE_SIGN_COMPARE_WARNINGS
2 +
3 #include "git-compat-util.h"
4 #include "gettext.h"
5 #include "hex-ll.h"
usage.c
+3
@@ -3,6 +3,9 @@
3 *
4 * Copyright (C) Linus Torvalds, 2005
5 */
6 +
7 +#define DISABLE_SIGN_COMPARE_WARNINGS
8 +
9 #include "git-compat-util.h"
10 #include "gettext.h"
11 #include "trace2.h"
userdiff.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "config.h"
utf8.c
+2
@@ -1,3 +1,5 @@
1 +#define DISABLE_SIGN_COMPARE_WARNINGS
2 +
3 #include "git-compat-util.h"
4 #include "strbuf.h"
5 #include "utf8.h"
version.c
+1
@@ -1,3 +1,4 @@
1 +#define DISABLE_SIGN_COMPARE_WARNINGS
2 #include "git-compat-util.h"
3 #include "version.h"
4 #include "strbuf.h"
versioncmp.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "config.h"
worktree.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "abspath.h"
wrapper.c
+3
@@ -1,6 +1,9 @@
1 /*
2 * Various trivial helper wrappers around standard functions
3 */
4 +
5 +#define DISABLE_SIGN_COMPARE_WARNINGS
6 +
7 #include "git-compat-util.h"
8 #include "abspath.h"
9 #include "parse.h"
ws.c
+3
@@ -3,6 +3,9 @@
3 *
4 * Copyright (c) 2007 Junio C Hamano
5 */
6 +
7 +#define DISABLE_SIGN_COMPARE_WARNINGS
8 +
9 #include "git-compat-util.h"
10 #include "attr.h"
11 #include "strbuf.h"
wt-status.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "advice.h"
xdiff-interface.c
+1
@@ -1,4 +1,5 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 +#define DISABLE_SIGN_COMPARE_WARNINGS
3
4 #include "git-compat-util.h"
5 #include "gettext.h"
xdiff/xdiffi.c
+1
@@ -19,6 +19,7 @@
19 * Davide Libenzi <davidel@xmailserver.org>
20 *
21 */
22 +#define DISABLE_SIGN_COMPARE_WARNINGS
23
24 #include "xinclude.h"
25
xdiff/xinclude.h
+2
@@ -23,6 +23,8 @@
23 #if !defined(XINCLUDE_H)
24 #define XINCLUDE_H
25
26 +#define DISABLE_SIGN_COMPARE_WARNINGS
27 +
28 #include "git-compat-util.h"
29 #include "xmacros.h"
30 #include "xdiff.h"