Skip to content

Commit e9bb166

Browse files
newrengitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 545f7b5 commit e9bb166

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

submodule-config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
#include "config.h"
55
#include "submodule.h"
6-
#include "strbuf.h"
76
#include "tree-walk.h"
87

98
/**

t/helper/test-submodule.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#include "remote.h"
55
#include "repository.h"
66
#include "setup.h"
7+
#include "strbuf.h"
78
#include "submodule-config.h"
89
#include "submodule.h"
910

0 commit comments

Comments
 (0)