Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/refs
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2023-02-24 03:09:22 +0300
committerJunio C Hamano <gitster@pobox.com>2023-02-24 04:25:28 +0300
commitba3d1c73daa02152acf4729d45ca7fe4d71d5747 (patch)
tree08150fe2c7c6de264cf3e11bda09f027e79f126f /refs
parentf332121e75d3aa2b0ce7efd120ac3ede19e9a733 (diff)
treewide: remove unnecessary cache.h includes
We had several header files include cache.h unnecessarily. Remove those. These have all been verified via both ensuring that gcc -E $HEADER | grep '"cache.h"' found no hits and that cat >temp.c <<EOF && #include "git-compat-util.h" #include "$HEADER" int main() {} EOF gcc -c temp.c successfully compiles without warnings. Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs')
-rw-r--r--refs/refs-internal.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/refs/refs-internal.h b/refs/refs-internal.h
index 69f93b0e2a..a85d113123 100644
--- a/refs/refs-internal.h
+++ b/refs/refs-internal.h
@@ -1,7 +1,6 @@
#ifndef REFS_REFS_INTERNAL_H
#define REFS_REFS_INTERNAL_H
-#include "cache.h"
#include "refs.h"
#include "iterator.h"