aboutsummaryrefslogtreecommitdiffstats
path: root/pack-bitmap-write.c
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2023-03-21 06:26:08 +0000
committerJunio C Hamano <gitster@pobox.com>2023-03-21 10:56:55 -0700
commitec2f02696157d3781fbfd410f0017c49cc1eda01 (patch)
tree4fdabe7153677a2ff5cb361ad0d32f6f1a525a73 /pack-bitmap-write.c
parentd48be35ca6f62e1ddd0161f9bbb4c893ee498bfe (diff)
downloadgit-ec2f02696157d3781fbfd410f0017c49cc1eda01.tar.gz
csum-file.h: remove unnecessary inclusion of cache.h
With the change in the last commit to move several functions to write-or-die.h, csum-file.h no longer needs to include cache.h. However, removing that include forces several other C files, which directly or indirectly dependend upon csum-file.h's inclusion of cache.h, to now be more explicit about their dependencies. Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pack-bitmap-write.c')
-rw-r--r--pack-bitmap-write.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pack-bitmap-write.c b/pack-bitmap-write.c
index 63f16080c9..0fddeb1298 100644
--- a/pack-bitmap-write.c
+++ b/pack-bitmap-write.c
@@ -1,4 +1,4 @@
-#include "git-compat-util.h"
+#include "cache.h"
#include "alloc.h"
#include "environment.h"
#include "gettext.h"
@@ -17,6 +17,7 @@
#include "pack-objects.h"
#include "commit-reach.h"
#include "prio-queue.h"
+#include "trace2.h"
struct bitmapped_commit {
struct commit *commit;