# [PATCH] submodule--helper: remove redundant include

1 messages from 2021-07-06 to 2021-07-06. Participants: Atharva Raykar.
Thread: https://gitlist.dev/t/56058

## Atharva Raykar, 2021-07-06 18:24

Subject: [PATCH] submodule--helper: remove redundant include
Message-ID: <20210706182408.34179-1-raykar.ath@gmail.com>
URL: https://gitlist.dev/e/20210706182408.34179-1-raykar.ath%40gmail.com

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

Signed-off-by: Atharva Raykar <raykar.ath@gmail.com>
Mentored-by: Christian Couder <christian.couder@gmail.com>
Mentored-by: Shourya Shukla <periperidip@gmail.com>
---
 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


```
