]> git.ipfire.org Git - thirdparty/git.git/commitdiff
treewide: remove cache.h inclusion due to environment.h changes
authorElijah Newren <newren@gmail.com>
Tue, 21 Mar 2023 06:26:04 +0000 (06:26 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 21 Mar 2023 17:56:54 +0000 (10:56 -0700)
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
csum-file.c
gettext.c
ls-refs.c
notes-utils.c
prompt.c
prune-packed.c
reachable.c
t/helper/test-bitmap.c
trailer.c

index 2d22f80d901e972a5caccd69f5ae68fa51028326..82ae2973d30de5c3873df808f76935aed7405bc4 100644 (file)
@@ -7,7 +7,7 @@
  * files. Useful when you write a file that you want to be
  * able to verify hasn't been messed with afterwards.
  */
-#include "cache.h"
+#include "git-compat-util.h"
 #include "progress.h"
 #include "csum-file.h"
 #include "wrapper.h"
index 85d3d3424eb2c2a0f5ca2947916ed88d25f6edf0..5f348708300e81addb7238a6c84be5e37a0ebcba 100644 (file)
--- a/gettext.c
+++ b/gettext.c
@@ -2,7 +2,7 @@
  * Copyright (c) 2010 Ævar Arnfjörð Bjarmason
  */
 
-#include "cache.h"
+#include "git-compat-util.h"
 #include "abspath.h"
 #include "environment.h"
 #include "exec-cmd.h"
index 12cbb40a19836909d1a80ccaa6f590369b424b6e..b9f3e08ec3d6307ff0bb623434d98e46b13c371e 100644 (file)
--- a/ls-refs.c
+++ b/ls-refs.c
@@ -1,4 +1,4 @@
-#include "cache.h"
+#include "git-compat-util.h"
 #include "environment.h"
 #include "gettext.h"
 #include "hex.h"
index 8797271faf10a741561060447941cad26e21d1d0..86552f31c4aac28fb90c7c7d02d3645665139de4 100644 (file)
@@ -1,4 +1,4 @@
-#include "cache.h"
+#include "git-compat-util.h"
 #include "config.h"
 #include "commit.h"
 #include "environment.h"
index ba10813b313320b65b367c43d5571067240a0ee7..3baa33f63d87a675947bafcdfe3a798b02410de2 100644 (file)
--- a/prompt.c
+++ b/prompt.c
@@ -1,4 +1,4 @@
-#include "cache.h"
+#include "git-compat-util.h"
 #include "config.h"
 #include "environment.h"
 #include "run-command.h"
index 5a57072a7ac6d8c7b6d10b0b6715ae66bef8a206..58412b4fb9157f6ef5d3bf6dde7b890e500b741f 100644 (file)
@@ -1,4 +1,4 @@
-#include "cache.h"
+#include "git-compat-util.h"
 #include "environment.h"
 #include "gettext.h"
 #include "object-store.h"
index b0f85046e9caf5772b667a787a9f3eb1d8451660..55bb1143530fceb53f4f68450ecb455861cbbe2d 100644 (file)
@@ -1,4 +1,4 @@
-#include "cache.h"
+#include "git-compat-util.h"
 #include "gettext.h"
 #include "hex.h"
 #include "refs.h"
index ff35f5999b367106f04743582ca9fb490b80501f..5bb489882dab27c21d412c8a5238a8b24bc08a09 100644 (file)
@@ -1,5 +1,5 @@
 #include "test-tool.h"
-#include "cache.h"
+#include "git-compat-util.h"
 #include "pack-bitmap.h"
 
 static int bitmap_list_commits(void)
index 6a5091a3c46b6f0e7853bfe201c59d1235b56236..a2c3ed6f28cc9fedffe50946acdb3594d21f9e7e 100644 (file)
--- a/trailer.c
+++ b/trailer.c
@@ -1,4 +1,4 @@
-#include "cache.h"
+#include "git-compat-util.h"
 #include "alloc.h"
 #include "config.h"
 #include "environment.h"