]> git.ipfire.org Git - thirdparty/git.git/commitdiff
fsmonitor: reduce includes of cache.h
authorElijah Newren <newren@gmail.com>
Sat, 22 Apr 2023 20:17:25 +0000 (20:17 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 24 Apr 2023 19:47:33 +0000 (12:47 -0700)
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
compat/fsmonitor/fsm-health-darwin.c
compat/fsmonitor/fsm-ipc-darwin.c
compat/fsmonitor/fsm-listen-darwin.c
fsmonitor--daemon.h

index b9f709e854833f67b45725e1684abe2ef06e16ca..4c291f8a066b1b066da5084d2f67e5e9a8e0c4b9 100644 (file)
@@ -1,4 +1,4 @@
-#include "cache.h"
+#include "git-compat-util.h"
 #include "config.h"
 #include "fsmonitor.h"
 #include "fsm-health.h"
index bc68dca0cae8fa0feb9780b0a5d6ea93baba0dc3..793073aaa721633497b5bbe71797c15c7c88f52c 100644 (file)
@@ -1,4 +1,4 @@
-#include "cache.h"
+#include "git-compat-util.h"
 #include "config.h"
 #include "gettext.h"
 #include "hex.h"
index 18c0e3913dc6d52ff03b9836c9746187b33f11e9..23e24b4b374b3e2cfc8745312690629acddb042e 100644 (file)
@@ -23,7 +23,7 @@
 #endif
 #endif
 
-#include "cache.h"
+#include "git-compat-util.h"
 #include "fsmonitor.h"
 #include "fsm-listen.h"
 #include "fsmonitor--daemon.h"
index e24838f9a86acc5de6980ac1c68d9d20421c3d42..70d776c54f6d142c2efd931cec140afaa91479f4 100644 (file)
@@ -3,7 +3,6 @@
 
 #ifdef HAVE_FSMONITOR_DAEMON_BACKEND
 
-#include "cache.h"
 #include "dir.h"
 #include "run-command.h"
 #include "simple-ipc.h"