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>

Elijah Newren committed Dec 23, 2023 at 17:14 UTC e9bb1664917a1c6c6379d196172fcd36618e3230
2 files changed +1 -1
submodule-config.h
-1
@@ -3,7 +3,6 @@
3
4 #include "config.h"
5 #include "submodule.h"
6 -#include "strbuf.h"
6 #include "tree-walk.h"
7
8 /**
t/helper/test-submodule.c
+1
@@ -4,6 +4,7 @@
4 #include "remote.h"
5 #include "repository.h"
6 #include "setup.h"
7 +#include "strbuf.h"
8 #include "submodule-config.h"
9 #include "submodule.h"
10