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

[PATCH 3/5] builtin/sparse-checkout.c: delete duplicate include

From
Elia Pinto <gitter.spiros@gmail.com>
Date
Mar 13, 2022, 19:55 UTC
Message-ID
<20220313195536.224075-4-gitter.spiros@gmail.com>
In-Reply-To
<20220313195536.224075-1-gitter.spiros@gmail.com>
cache.h is included more than once.
Signed-off-by: Elia Pinto <gitter.spiros@gmail.com>
---
 builtin/sparse-checkout.c | 1 -
 1 file changed, 1 deletion(-)
diff --git a/builtin/sparse-checkout.c b/builtin/sparse-checkout.c
index 5518ed47f6..d88d141076 100644
--- a/builtin/sparse-checkout.c
+++ b/builtin/sparse-checkout.c
@@ -8,7 +8,6 @@
 #include "run-command.h"
 #include "strbuf.h"
 #include "string-list.h"
-#include "cache.h"
 #include "cache-tree.h"
 #include "lockfile.h"
 #include "resolve-undo.h"
-- 
2.35.1
Previous: Elia PintoNext: Elia Pinto
Message 4 of 7 in “Remove. duplicate include directives”
  1. 0/5 Remove. duplicate include directivesElia Pinto, Mar 13, 2022
  2. 1/5 attr.c: delete duplicate includeElia Pinto, Mar 13, 2022
  3. 2/5 builtin/gc.c: delete duplicate includeElia Pinto, Mar 13, 2022
  4. 3/5 builtin/sparse-checkout.c: delete duplicate includeElia Pinto, Mar 13, 2022
  5. 4/5 builtin/stash.c: delete duplicate includeElia Pinto, Mar 13, 2022
  6. 5/5 t/helper/test-run-command.c: delete duplicate includeElia Pinto, Mar 13, 2022
  7. Junio C HamanoMar 13, 2022

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.