treewide: be explicit about dependence on mem-pool.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 00:41 UTC
5bc07225e5ee8b315289ae26799840721fc0f321
6 files changed
+5
-1
builtin/checkout.c
+1
@@ -15,6 +15,7 @@
15
#include "hook.h"
16
#include "ll-merge.h"
17
#include "lockfile.h"
18
+#include "mem-pool.h"
19
#include "merge-recursive.h"
20
#include "object-store.h"
21
#include "parse-options.h"
cache.h
-1
@@ -13,7 +13,6 @@
13
#include "object.h"
14
#include "repository.h"
15
#include "statinfo.h"
16
-#include "mem-pool.h"
16
17
typedef struct git_zstream {
18
z_stream z;
merge-ort.c
+1
@@ -31,6 +31,7 @@
31
#include "hex.h"
32
#include "entry.h"
33
#include "ll-merge.h"
34
+#include "mem-pool.h"
35
#include "object-store.h"
36
#include "oid-array.h"
37
#include "promisor-remote.h"
read-cache.c
+1
@@ -21,6 +21,7 @@
21
#include "blob.h"
22
#include "environment.h"
23
#include "gettext.h"
24
+#include "mem-pool.h"
25
#include "resolve-undo.h"
26
#include "run-command.h"
27
#include "strbuf.h"
split-index.c
+1
@@ -1,6 +1,7 @@
1
#include "cache.h"
2
#include "alloc.h"
3
#include "gettext.h"
4
+#include "mem-pool.h"
5
#include "split-index.h"
6
#include "ewah/ewok.h"
7
t/helper/test-mergesort.c
+1
@@ -1,5 +1,6 @@
1
#include "test-tool.h"
2
#include "cache.h"
3
+#include "mem-pool.h"
4
#include "mergesort.h"
5
6
static uint32_t minstd_rand(uint32_t *state)