summaryrefslogtreecommitdiff
path: root/t/helper/test-run-command.c
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2023-02-24 00:09:23 +0000
committerJunio C Hamano <gitster@pobox.com>2023-02-23 17:25:28 -0800
commit15db4e7f4ac20cc41902a2479c7784fff8edf2e9 (patch)
tree041fdf546a331a01315c23ea633d1bd5a1ac99a2 /t/helper/test-run-command.c
parentba3d1c73daa02152acf4729d45ca7fe4d71d5747 (diff)
downloadgit-15db4e7f4ac20cc41902a2479c7784fff8edf2e9.tar.gz
treewide: remove unnecessary cache.h includes in source files
We had several C files include cache.h unnecessarily. Replace those with an include of "git-compat-util.h" instead. Much like the previous commit, these have all been verified via both ensuring that gcc -E $SOURCE_FILE | grep '"cache.h"' found no hits and that make DEVELOPER=1 ${OBJECT_FILE_FOR_SOURCE_FILE} successfully compiles without warnings. Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/helper/test-run-command.c')
-rw-r--r--t/helper/test-run-command.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/t/helper/test-run-command.c b/t/helper/test-run-command.c
index 3ecb830f4a..67b42ef50e 100644
--- a/t/helper/test-run-command.c
+++ b/t/helper/test-run-command.c
@@ -9,8 +9,6 @@
*/
#include "test-tool.h"
-#include "git-compat-util.h"
-#include "cache.h"
#include "run-command.h"
#include "strvec.h"
#include "strbuf.h"