[PATCH v3 20/23] cache.h: remove unnecessary includes
- From
Elijah Newren <newren@gmail.com>
- Date
- Apr 11, 2023, 07:42 UTC
- Message-ID
- <20230411074204.3024420-15-newren@gmail.com>
- In-Reply-To
- <20230411074204.3024420-1-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> Acked-by: Calvin Wan <calvinwan@google.com> --- cache.h | 4 ---- 1 file changed, 4 deletions(-)
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)
-- 2.40.0.172.g72fe1174621