[PATCH v2 20/24] cache.h: remove unnecessary includes
- From
Elijah Newren via GitGitGadget <gitgitgadget@gmail.com>
- Date
- Apr 4, 2023, 01:22 UTC
- Message-ID
- <23e0a81e788e5d2080cffeb63796b1fca7185f6d.1680571352.git.gitgitgadget@gmail.com>
- In-Reply-To
- <pull.1509.v2.git.1680571348.gitgitgadget@gmail.com>
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 --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)
-- gitgitgadget