fsmonitor: reduce includes of cache.h
Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Elijah Newren committed
Apr 22, 2023 at 20:17 UTC
e1c382141d8072b8c8c07c0bd8265b2b3d01ae2b
4 files changed
+3
-4
compat/fsmonitor/fsm-health-darwin.c
+1
-1
@@ -1,4 +1,4 @@
1
-#include "cache.h"
1
+#include "git-compat-util.h"
2
#include "config.h"
3
#include "fsmonitor.h"
4
#include "fsm-health.h"
compat/fsmonitor/fsm-ipc-darwin.c
+1
-1
@@ -1,4 +1,4 @@
1
-#include "cache.h"
1
+#include "git-compat-util.h"
2
#include "config.h"
3
#include "gettext.h"
4
#include "hex.h"
compat/fsmonitor/fsm-listen-darwin.c
+1
-1
@@ -23,7 +23,7 @@
23
#endif
24
#endif
25
26
-#include "cache.h"
26
+#include "git-compat-util.h"
27
#include "fsmonitor.h"
28
#include "fsm-listen.h"
29
#include "fsmonitor--daemon.h"
fsmonitor--daemon.h
-1
@@ -3,7 +3,6 @@
3
4
#ifdef HAVE_FSMONITOR_DAEMON_BACKEND
5
6
-#include "cache.h"
6
#include "dir.h"
7
#include "run-command.h"
8
#include "simple-ipc.h"