summaryrefslogtreecommitdiffstats
path: root/worktree.c
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2023-03-21 07:26:06 +0100
committerJunio C Hamano <gitster@pobox.com>2023-03-21 18:56:54 +0100
commit61a7b982647bb64779df9be66d9b13ecac811924 (patch)
tree0ac10b904554ec54fafc95e83f47d5e3c2b37141 /worktree.c
parentsetup.h: move declarations for setup.c functions from cache.h (diff)
downloadgit-61a7b982647bb64779df9be66d9b13ecac811924.tar.xz
git-61a7b982647bb64779df9be66d9b13ecac811924.zip
treewide: remove cache.h inclusion due to setup.h changes
By moving several declarations to setup.h, the previous patch made it possible to remove the include of cache.h in several source files. Do so. Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'worktree.c')
-rw-r--r--worktree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/worktree.c b/worktree.c
index 7f0f04eab5..b5ee71c5eb 100644
--- a/worktree.c
+++ b/worktree.c
@@ -1,4 +1,4 @@
-#include "cache.h"
+#include "git-compat-util.h"
#include "abspath.h"
#include "alloc.h"
#include "environment.h"