treewide: be explicit about dependence on convert.h

Signed-off-by: Elijah Newren <newren@gmail.com> Acked-by: Calvin Wan <calvinwan@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Elijah Newren committed Apr 11, 2023 at 03:00 UTC 73359a9b4375e0a0c02bb6b4f50e6782837cdc3f
15 files changed +14 -1
archive.c
+1
@@ -2,6 +2,7 @@
2 #include "abspath.h"
3 #include "alloc.h"
4 #include "config.h"
5 +#include "convert.h"
6 #include "environment.h"
7 #include "gettext.h"
8 #include "hex.h"
blame.c
+1
@@ -3,6 +3,7 @@
3 #include "object-store.h"
4 #include "cache-tree.h"
5 #include "mergesort.h"
6 +#include "convert.h"
7 #include "diff.h"
8 #include "diffcore.h"
9 #include "gettext.h"
builtin/cat-file.c
+1
@@ -7,6 +7,7 @@
7 #include "cache.h"
8 #include "alloc.h"
9 #include "config.h"
10 +#include "convert.h"
11 #include "builtin.h"
12 #include "diff.h"
13 #include "environment.h"
builtin/ls-files.c
+1
@@ -8,6 +8,7 @@
8 #include "cache.h"
9 #include "repository.h"
10 #include "config.h"
11 +#include "convert.h"
12 #include "quote.h"
13 #include "dir.h"
14 #include "builtin.h"
cache.h
-1
@@ -6,7 +6,6 @@
6 #include "hashmap.h"
7 #include "list.h"
8 #include "gettext.h"
9 -#include "convert.h"
9 #include "string-list.h"
10 #include "pack-revindex.h"
11 #include "hash.h"
combine-diff.c
+1
@@ -1,6 +1,7 @@
1 #include "cache.h"
2 #include "object-store.h"
3 #include "commit.h"
4 +#include "convert.h"
5 #include "blob.h"
6 #include "diff.h"
7 #include "diffcore.h"
config.c
+1
@@ -12,6 +12,7 @@
12 #include "date.h"
13 #include "branch.h"
14 #include "config.h"
15 +#include "convert.h"
16 #include "environment.h"
17 #include "gettext.h"
18 #include "ident.h"
convert.c
+1
@@ -1,6 +1,7 @@
1 #include "cache.h"
2 #include "advice.h"
3 #include "config.h"
4 +#include "convert.h"
5 #include "gettext.h"
6 #include "hex.h"
7 #include "object-store.h"
diff.c
+1
@@ -5,6 +5,7 @@
5 #include "abspath.h"
6 #include "alloc.h"
7 #include "config.h"
8 +#include "convert.h"
9 #include "environment.h"
10 #include "gettext.h"
11 #include "tempfile.h"
dir.c
+1
@@ -9,6 +9,7 @@
9 #include "abspath.h"
10 #include "alloc.h"
11 #include "config.h"
12 +#include "convert.h"
13 #include "dir.h"
14 #include "environment.h"
15 #include "gettext.h"
environment.c
+1
@@ -10,6 +10,7 @@
10 #include "cache.h"
11 #include "abspath.h"
12 #include "branch.h"
13 +#include "convert.h"
14 #include "environment.h"
15 #include "gettext.h"
16 #include "repository.h"
ll-merge.c
+1
@@ -6,6 +6,7 @@
6
7 #include "cache.h"
8 #include "config.h"
9 +#include "convert.h"
10 #include "attr.h"
11 #include "xdiff-interface.h"
12 #include "run-command.h"
object-file.c
+1
@@ -10,6 +10,7 @@
10 #include "abspath.h"
11 #include "alloc.h"
12 #include "config.h"
13 +#include "convert.h"
14 #include "environment.h"
15 #include "gettext.h"
16 #include "hex.h"
streaming.c
+1
@@ -2,6 +2,7 @@
2 * Copyright (c) 2011, Google Inc.
3 */
4 #include "cache.h"
5 +#include "convert.h"
6 #include "environment.h"
7 #include "streaming.h"
8 #include "repository.h"
unpack-trees.h
+1
@@ -2,6 +2,7 @@
2 #define UNPACK_TREES_H
3
4 #include "cache.h"
5 +#include "convert.h"
6 #include "strvec.h"
7 #include "string-list.h"
8 #include "tree-walk.h"