git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] submodule--helper: remove redundant include

From
Atharva Raykar <raykar.ath@gmail.com>
Date
Jul 6, 2021, 18:24 UTC
Message-ID
<20210706182408.34179-1-raykar.ath@gmail.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
Message 1 of 1 in “submodule--helper: remove redundant include”
  1. submodule--helper: remove redundant includeAtharva Raykar, Jul 6, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.