]> git.ipfire.org Git - thirdparty/git.git/commitdiff
treewide: be explicit about dependence on pack-revindex.h
authorElijah Newren <newren@gmail.com>
Tue, 11 Apr 2023 03:00:41 +0000 (03:00 +0000)
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/index-pack.c
cache.h
pack-write.c
packfile.c

index b17e79cd40f797d53ee3dbe12440af0ed4787228..ceb0f120ede6c6ba090e15f0ca6072cbb3bc4836 100644 (file)
@@ -17,6 +17,7 @@
 #include "streaming.h"
 #include "thread-utils.h"
 #include "packfile.h"
+#include "pack-revindex.h"
 #include "object-store.h"
 #include "replace-object.h"
 #include "promisor-remote.h"
diff --git a/cache.h b/cache.h
index 415f0f85670873b8c84322ffcf022f264ae7fc61..5f1279454a883455a5de7503e2283432e5bcc864 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -7,7 +7,6 @@
 #include "list.h"
 #include "gettext.h"
 #include "string-list.h"
-#include "pack-revindex.h"
 #include "hash.h"
 #include "path.h"
 #include "pathspec.h"
index f1714054951e158ca920a4a17a831914962f557e..152c14aa7aaf644399f38c3c3710a7f7552d3b6e 100644 (file)
@@ -9,6 +9,7 @@
 #include "pack-mtimes.h"
 #include "oidmap.h"
 #include "pack-objects.h"
+#include "pack-revindex.h"
 
 void reset_pack_idx_option(struct pack_idx_option *opts)
 {
index 2d3dabb1aeefbe184a51cd6541d7047e454c7f51..02afbe771379a52d9adfe0b134c8dd8d047f6e67 100644 (file)
@@ -21,6 +21,7 @@
 #include "object-store.h"
 #include "midx.h"
 #include "commit-graph.h"
+#include "pack-revindex.h"
 #include "promisor-remote.h"
 #include "wrapper.h"