diff mbox series

[v3,20/23] cache.h: remove unnecessary includes

Message ID 20230411074204.3024420-15-newren@gmail.com (mailing list archive)
State Accepted
Commit 31dfa17b3b83fcf0ff8ba286167b4225dc7d480d
Headers show
Series Header cleanups (splitting up cache.h) | expand

Commit Message

Elijah Newren April 11, 2023, 7:42 a.m. UTC
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>
Acked-by: Calvin Wan <calvinwan@google.com>
---
 cache.h | 4 ----
 1 file changed, 4 deletions(-)
diff mbox series

Patch

diff --git a/cache.h b/cache.h
index 21fd520b045..16b5fc9fa31 100644
--- a/cache.h
+++ b/cache.h
@@ -4,14 +4,10 @@ 
 #include "git-compat-util.h"
 #include "strbuf.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)