summaryrefslogtreecommitdiffstats
path: root/bulk-checkin.c
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2023-03-21 07:26:08 +0100
committerJunio C Hamano <gitster@pobox.com>2023-03-21 18:56:55 +0100
commitec2f02696157d3781fbfd410f0017c49cc1eda01 (patch)
tree4fdabe7153677a2ff5cb361ad0d32f6f1a525a73 /bulk-checkin.c
parentwrite-or-die.h: move declarations for write-or-die.c functions from cache.h (diff)
downloadgit-ec2f02696157d3781fbfd410f0017c49cc1eda01.tar.xz
git-ec2f02696157d3781fbfd410f0017c49cc1eda01.zip
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 'bulk-checkin.c')
-rw-r--r--bulk-checkin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bulk-checkin.c b/bulk-checkin.c
index eb6d7a2805..d2428b8611 100644
--- a/bulk-checkin.c
+++ b/bulk-checkin.c
@@ -1,7 +1,7 @@
/*
* Copyright (c) 2011, Google Inc.
*/
-#include "git-compat-util.h"
+#include "cache.h"
#include "alloc.h"
#include "bulk-checkin.h"
#include "environment.h"