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

[PATCH] git.c: remove unused includes

From
Alexander Kuleshov <kuleshovmail@gmail.com>
Date
Jan 9, 2015, 10:12 UTC
Message-ID
<1420798353-12316-1-git-send-email-kuleshovmail@gmail.com>
* <cache.h> and <commit.h> already included in <builtin.h>
* <quote.h> was appeared in (6035d6aa GIT_TRACE: show which
built-in/external commands are executed  25 Jun 2006) and sq_quote_print
was removed at (82aae5c quote: remove sq_quote_print() Jul 30 2013)
Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
---
 git.c | 3 ---
 1 file changed, 3 deletions(-)
diff --git a/git.c b/git.c
index 09b3bcf..c9bec99 100644
--- a/git.c
+++ b/git.c
@@ -1,10 +1,7 @@
 #include "builtin.h"
-#include "cache.h"
 #include "exec_cmd.h"
 #include "help.h"
-#include "quote.h"
 #include "run-command.h"
-#include "commit.h"
 
 const char git_usage_string[] =
 	"git [--version] [--help] [-C <path>] [-c name=value]\n"
-- 
2.2.1.522.g2561c04.dirty
Next: Junio C Hamano
Message 1 of 2 in “git.c: remove unused includes”
  1. git.c: remove unused includesAlexander Kuleshov, Jan 9, 2015
  2. Junio C HamanoJan 9, 2015

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.