diff options
author | Elijah Newren <newren@gmail.com> | 2023-12-23 20:14:57 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-12-26 23:04:32 +0300 |
commit | e9bb1664917a1c6c6379d196172fcd36618e3230 (patch) | |
tree | e696958271dfda3b04fd72128e0ce425d0513494 | |
parent | 545f7b50e8c7c63c3e763519f64846624dce6d52 (diff) |
submodule-config.h: remove unnecessary include
The unnecessary include in the header transitively pulled in some
other headers actually needed by source files, though. Have those
source files explicitly include the headers they need.
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r-- | submodule-config.h | 1 | ||||
-rw-r--r-- | t/helper/test-submodule.c | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/submodule-config.h b/submodule-config.h index e8164cca3e..958f320ac6 100644 --- a/submodule-config.h +++ b/submodule-config.h @@ -3,7 +3,6 @@ #include "config.h" #include "submodule.h" -#include "strbuf.h" #include "tree-walk.h" /** diff --git a/t/helper/test-submodule.c b/t/helper/test-submodule.c index 356e0a26c5..50c154d037 100644 --- a/t/helper/test-submodule.c +++ b/t/helper/test-submodule.c @@ -4,6 +4,7 @@ #include "remote.h" #include "repository.h" #include "setup.h" +#include "strbuf.h" #include "submodule-config.h" #include "submodule.h" |