aboutsummaryrefslogtreecommitdiffstats
path: root/trace2
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2023-02-24 00:09:31 +0000
committerJunio C Hamano <gitster@pobox.com>2023-02-23 17:25:29 -0800
commitac48adf488794417b1060b5ed2377a9fd4c33c17 (patch)
tree58d3b2d06a41d521ad5b50cfc872aa703a8e2d94 /trace2
parenta64215b6cd5e67939187475c5b248dc5d13e3d60 (diff)
downloadgit-ac48adf488794417b1060b5ed2377a9fd4c33c17.tar.gz
dir.h: refactor to no longer need to include cache.h
Moving a few functions around allows us to make dir.h no longer need to include cache.h. This commit is best viewed with: git log -1 -p --color-moved Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'trace2')
-rw-r--r--trace2/tr2_sysenv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trace2/tr2_sysenv.c b/trace2/tr2_sysenv.c
index a380dcf910..069786cb92 100644
--- a/trace2/tr2_sysenv.c
+++ b/trace2/tr2_sysenv.c
@@ -1,4 +1,4 @@
-#include "cache.h"
+#include "git-compat-util.h"
#include "config.h"
#include "dir.h"
#include "tr2_sysenv.h"