summaryrefslogtreecommitdiffstats
path: root/trace2/tr2_sysenv.c
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2023-02-24 01:09:31 +0100
committerJunio C Hamano <gitster@pobox.com>2023-02-24 02:25:29 +0100
commitac48adf488794417b1060b5ed2377a9fd4c33c17 (patch)
tree58d3b2d06a41d521ad5b50cfc872aa703a8e2d94 /trace2/tr2_sysenv.c
parentobject.h: stop depending on cache.h; make cache.h depend on object.h (diff)
downloadgit-ac48adf488794417b1060b5ed2377a9fd4c33c17.tar.xz
git-ac48adf488794417b1060b5ed2377a9fd4c33c17.zip
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 '')
-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"