DORMANTno replies

[PATCH] submodule--helper: remove redundant include

From: Atharva Raykar <hidden>
Date: 2021-07-06 18:25:32
Subsystem: the rest · Maintainer: Linus Torvalds

"dir.h" should have been included only once.

Signed-off-by: Atharva Raykar <redacted>
Mentored-by: Christian Couder [off-list ref]
Mentored-by: Shourya Shukla [off-list ref]
---
 builtin/submodule--helper.c | 1 -
 1 file changed, 1 deletion(-)

This is just something I found while working on my submodule series.
diff --git a/builtin/submodule--helper.c b/builtin/submodule--helper.c
index d55f6262e9..3e2023fc3d 100644
--- a/builtin/submodule--helper.c
+++ b/builtin/submodule--helper.c
@@ -19,7 +19,6 @@
 #include "diffcore.h"
 #include "diff.h"
 #include "object-store.h"
-#include "dir.h"
 #include "advice.h"
 
 #define OPT_QUIET (1 << 0)
-- 
2.31.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help