summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2023-04-11 09:42:00 +0200
committerJunio C Hamano <gitster@pobox.com>2023-04-11 17:52:11 +0200
commit77f091ed9f289e55c9cc48d2d937d52f4f317de9 (patch)
tree988f457f9b132ae9a3c1f7da6e0d3953cf55fb46
parentpager.h: move declarations for pager.c functions from cache.h (diff)
downloadgit-77f091ed9f289e55c9cc48d2d937d52f4f317de9.tar.xz
git-77f091ed9f289e55c9cc48d2d937d52f4f317de9.zip
treewide: remove cache.h inclusion due to pager.h changes
Signed-off-by: Elijah Newren <newren@gmail.com> Acked-by: Calvin Wan <calvinwan@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--column.c2
-rw-r--r--editor.c2
-rw-r--r--pager.c2
-rw-r--r--pretty.c2
-rw-r--r--progress.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/column.c b/column.c
index c89c90328a..ff2f0abf39 100644
--- a/column.c
+++ b/column.c
@@ -1,4 +1,4 @@
-#include "cache.h"
+#include "git-compat-util.h"
#include "config.h"
#include "column.h"
#include "string-list.h"
diff --git a/editor.c b/editor.c
index 7c79638549..b34e10606d 100644
--- a/editor.c
+++ b/editor.c
@@ -1,4 +1,4 @@
-#include "cache.h"
+#include "git-compat-util.h"
#include "abspath.h"
#include "advice.h"
#include "config.h"
diff --git a/pager.c b/pager.c
index be78c70664..63055d0873 100644
--- a/pager.c
+++ b/pager.c
@@ -1,4 +1,4 @@
-#include "cache.h"
+#include "git-compat-util.h"
#include "config.h"
#include "editor.h"
#include "pager.h"
diff --git a/pretty.c b/pretty.c
index c4671603b5..0bb938021b 100644
--- a/pretty.c
+++ b/pretty.c
@@ -1,4 +1,4 @@
-#include "cache.h"
+#include "git-compat-util.h"
#include "alloc.h"
#include "config.h"
#include "commit.h"
diff --git a/progress.c b/progress.c
index 96a8e36a52..72d5e0c73c 100644
--- a/progress.c
+++ b/progress.c
@@ -9,7 +9,7 @@
*/
#define GIT_TEST_PROGRESS_ONLY
-#include "cache.h"
+#include "git-compat-util.h"
#include "pager.h"
#include "progress.h"
#include "strbuf.h"