cache.h: remove unnecessary includes

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> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Elijah Newren committed Apr 11, 2023 at 00:42 UTC 31dfa17b3b83fcf0ff8ba286167b4225dc7d480d
1 file changed -4
cache.h
-4
@@ -4,14 +4,10 @@
4 #include "git-compat-util.h"
5 #include "strbuf.h"
6 #include "hashmap.h"
7 -#include "list.h"
7 #include "gettext.h"
8 #include "string-list.h"
10 -#include "hash.h"
11 -#include "path.h"
9 #include "pathspec.h"
10 #include "object.h"
14 -#include "repository.h"
11 #include "statinfo.h"
12
13 #if defined(DT_UNKNOWN) && !defined(NO_D_TYPE_IN_DIRENT)