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>
This commit is contained in:
Elijah Newren 2023-04-11 00:42:01 -07:00 committed by Junio C Hamano
parent 77f091ed9f
commit 31dfa17b3b

View File

@ -4,14 +4,10 @@
#include "git-compat-util.h" #include "git-compat-util.h"
#include "strbuf.h" #include "strbuf.h"
#include "hashmap.h" #include "hashmap.h"
#include "list.h"
#include "gettext.h" #include "gettext.h"
#include "string-list.h" #include "string-list.h"
#include "hash.h"
#include "path.h"
#include "pathspec.h" #include "pathspec.h"
#include "object.h" #include "object.h"
#include "repository.h"
#include "statinfo.h" #include "statinfo.h"
#if defined(DT_UNKNOWN) && !defined(NO_D_TYPE_IN_DIRENT) #if defined(DT_UNKNOWN) && !defined(NO_D_TYPE_IN_DIRENT)