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>
maint
Elijah Newren 2023-12-23 17:14:57 +00:00 committed by Junio C Hamano
parent 545f7b50e8
commit e9bb166491
2 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,6 @@

#include "config.h"
#include "submodule.h"
#include "strbuf.h"
#include "tree-walk.h"

/**

View File

@ -4,6 +4,7 @@
#include "remote.h"
#include "repository.h"
#include "setup.h"
#include "strbuf.h"
#include "submodule-config.h"
#include "submodule.h"