diff options
author | Elijah Newren <newren@gmail.com> | 2023-12-23 18:14:49 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-12-26 21:04:31 +0100 |
commit | 147438e8a0eb31a06cb9aefbf0de8c45e544a4c7 (patch) | |
tree | e539c6c9712bd962cd93ee18301ebe476f707c94 /submodule-config.h | |
parent | Git 2.43 (diff) | |
download | git-147438e8a0eb31a06cb9aefbf0de8c45e544a4c7.tar.xz git-147438e8a0eb31a06cb9aefbf0de8c45e544a4c7.zip |
treewide: remove unnecessary includes from header files
There are three kinds of unnecessary includes:
* includes which aren't directly needed, but which include some other
forgotten include
* includes which could be replaced by a simple forward declaration of
some structs
* includes which aren't needed at all
Remove the third kind of include. Subsequent commits (and a subsequent
series) will work on removing some of the other kinds of includes.
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'submodule-config.h')
-rw-r--r-- | submodule-config.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/submodule-config.h b/submodule-config.h index 2a37689cc2..e8164cca3e 100644 --- a/submodule-config.h +++ b/submodule-config.h @@ -2,7 +2,6 @@ #define SUBMODULE_CONFIG_CACHE_H #include "config.h" -#include "hashmap.h" #include "submodule.h" #include "strbuf.h" #include "tree-walk.h" |