treewide: be explicit about dependence on pack-revindex.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 75f273d9b7ce1d63c0c94e0e196107e90b3b9538
4 files changed +3 -1
builtin/index-pack.c
+1
@@ -17,6 +17,7 @@
17 #include "streaming.h"
18 #include "thread-utils.h"
19 #include "packfile.h"
20 +#include "pack-revindex.h"
21 #include "object-store.h"
22 #include "replace-object.h"
23 #include "promisor-remote.h"
cache.h
-1
@@ -7,7 +7,6 @@
7 #include "list.h"
8 #include "gettext.h"
9 #include "string-list.h"
10 -#include "pack-revindex.h"
10 #include "hash.h"
11 #include "path.h"
12 #include "pathspec.h"
pack-write.c
+1
@@ -9,6 +9,7 @@
9 #include "pack-mtimes.h"
10 #include "oidmap.h"
11 #include "pack-objects.h"
12 +#include "pack-revindex.h"
13
14 void reset_pack_idx_option(struct pack_idx_option *opts)
15 {
packfile.c
+1
@@ -21,6 +21,7 @@
21 #include "object-store.h"
22 #include "midx.h"
23 #include "commit-graph.h"
24 +#include "pack-revindex.h"
25 #include "promisor-remote.h"
26 #include "wrapper.h"
27