]> git.ipfire.org Git - thirdparty/git.git/commitdiff
treewide: be explicit about dependence on mem-pool.h
authorElijah Newren <newren@gmail.com>
Tue, 11 Apr 2023 07:41:47 +0000 (00:41 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 11 Apr 2023 15:52:09 +0000 (08:52 -0700)
Signed-off-by: Elijah Newren <newren@gmail.com>
Acked-by: Calvin Wan <calvinwan@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/checkout.c
cache.h
merge-ort.c
read-cache.c
split-index.c
t/helper/test-mergesort.c

index 422ea7684043def812dc57b0e43cfb496534beed..65988fd8a3b534338ed495e02493d1a14feeb2bf 100644 (file)
@@ -15,6 +15,7 @@
 #include "hook.h"
 #include "ll-merge.h"
 #include "lockfile.h"
+#include "mem-pool.h"
 #include "merge-recursive.h"
 #include "object-store.h"
 #include "parse-options.h"
diff --git a/cache.h b/cache.h
index 6eac3134a22fb0f3b7209ee352a60ccba9c49ce3..66705dd469e744e5cb0fd1ced78dd609a4805517 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -13,7 +13,6 @@
 #include "object.h"
 #include "repository.h"
 #include "statinfo.h"
-#include "mem-pool.h"
 
 typedef struct git_zstream {
        z_stream z;
index 9b0b184b130c8e5887005298bc4a4361bb762412..1008684fbbc6c535c7bbaa081da04c5c3af12723 100644 (file)
@@ -31,6 +31,7 @@
 #include "hex.h"
 #include "entry.h"
 #include "ll-merge.h"
+#include "mem-pool.h"
 #include "object-store.h"
 #include "oid-array.h"
 #include "promisor-remote.h"
index 1b585ce8424ea0f33daa0005a56dadecabd07b36..4ada6d62b90331a9be56b2cd2e1ca7aba1d1f1db 100644 (file)
@@ -21,6 +21,7 @@
 #include "blob.h"
 #include "environment.h"
 #include "gettext.h"
+#include "mem-pool.h"
 #include "resolve-undo.h"
 #include "run-command.h"
 #include "strbuf.h"
index c98807c655b1fddb6df70e9c4fbf0122264c5b58..5602b74994b0cb84c109ecc04dbe2e692c064eaa 100644 (file)
@@ -1,6 +1,7 @@
 #include "cache.h"
 #include "alloc.h"
 #include "gettext.h"
+#include "mem-pool.h"
 #include "split-index.h"
 #include "ewah/ewok.h"
 
index 335e5bb3a9008c8ce1cb31198bd54808c70566dc..737e0c52358c9248d9a4b7cb68df8e5cc6dcca47 100644 (file)
@@ -1,5 +1,6 @@
 #include "test-tool.h"
 #include "cache.h"
+#include "mem-pool.h"
 #include "mergesort.h"
 
 static uint32_t minstd_rand(uint32_t *state)