diff mbox series

[19/24] cache.h: remove unnecessary includes

Message ID c8f7559553f81bc2cd869e827d41de738ceccbae.1680361840.git.gitgitgadget@gmail.com (mailing list archive)
State Superseded
Headers show
Series Header cleanups (splitting up cache.h) | expand

Commit Message

Elijah Newren April 1, 2023, 3:10 p.m. UTC
From: Elijah Newren <newren@gmail.com>

cache.h did not need any of these headers, and nothing that depended
upon cache.h needed them either.  Simply expunge these includes.

Signed-off-by: Elijah Newren <newren@gmail.com>
---
 cache.h | 4 ----
 1 file changed, 4 deletions(-)
diff mbox series

Patch

diff --git a/cache.h b/cache.h
index b136b0c51ef..3c3e40b52e8 100644
--- a/cache.h
+++ b/cache.h
@@ -5,14 +5,10 @@ 
 #include "strbuf.h"
 #include "git-zlib.h"
 #include "hashmap.h"
-#include "list.h"
 #include "gettext.h"
 #include "string-list.h"
-#include "hash.h"
-#include "path.h"
 #include "pathspec.h"
 #include "object.h"
-#include "repository.h"
 #include "statinfo.h"
 
 #if defined(DT_UNKNOWN) && !defined(NO_D_TYPE_IN_DIRENT)