threads / patch / 56058

patchsubmodule--helper: remove redundant include

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

## tl;dr

One message between Jul 6, 2021 and Jul 6, 2021. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Atharva Raykar· Jul 6, 2021, 18:24 UTC · lore
"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.
Show changes to builtin/submodule--helper.c +0 −1
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

← back to recent threads