summaryrefslogtreecommitdiff
path: root/xdiff-interface.c
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2023-03-21 06:25:56 (GMT)
committerJunio C Hamano <gitster@pobox.com>2023-03-21 17:56:51 (GMT)
commit4f6728d52d5dc79ce522e92171f984455c04b963 (patch)
tree0d57326bf0527aa0cd90f1b3ddef40b7afdfd12a /xdiff-interface.c
parent553d4d70d128e78fd12031f5109d0164088c784f (diff)
downloadgit-4f6728d52d5dc79ce522e92171f984455c04b963.zip
git-4f6728d52d5dc79ce522e92171f984455c04b963.tar.gz
git-4f6728d52d5dc79ce522e92171f984455c04b963.tar.bz2
treewide: remove unnecessary cache.h inclusion from several sources
A number of files were apparently including cache.h solely to get gettext.h. By making those files explicitly include gettext.h, we can already drop the include of cache.h in these files. On top of that, there were some files using cache.h that didn't need to for any reason. Remove these unnecessary includes. Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'xdiff-interface.c')
-rw-r--r--xdiff-interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xdiff-interface.c b/xdiff-interface.c
index 5baf6ce..356356a 100644
--- a/xdiff-interface.c
+++ b/xdiff-interface.c
@@ -1,4 +1,4 @@
-#include "cache.h"
+#include "git-compat-util.h"
#include "config.h"
#include "hex.h"
#include "object-store.h"