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

[PATCH 4/4] Header Includes Cleanup Part 2

From
NDNathaniel P Dawson <nathaniel.dawson@gmail.com>
Date
Mar 31, 2009, 09:45 UTC
Message-ID
<1238492721-92484-5-git-send-email-nathaniel.dawson@gmail.com>
In-Reply-To
<1238492721-92484-4-git-send-email-nathaniel.dawson@gmail.com>

Deleted includes of cache.h where reflog-walk.h was included since reflog-walk.h includes it.

Signed-off-by: Nathaniel P Dawson <nathaniel.dawson@gmail.com>
---
 log-tree.c    |    3 +--
 reflog-walk.c |    3 +--
 revision.c    |    3 +--
 3 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/log-tree.c b/log-tree.c
index 9565c18..0433e61 100644
--- a/log-tree.c
+++ b/log-tree.c
@@ -1,10 +1,9 @@
-#include "cache.h"
+#include "reflog-walk.h"
 #include "diff.h"
 #include "commit.h"
 #include "tag.h"
 #include "graph.h"
 #include "log-tree.h"
-#include "reflog-walk.h"
 #include "refs.h"
 #include "string-list.h"
 
diff --git a/reflog-walk.c b/reflog-walk.c
index fd065f4..9198500 100644
--- a/reflog-walk.c
+++ b/reflog-walk.c
@@ -1,10 +1,9 @@
-#include "cache.h"
+#include "reflog-walk.h"
 #include "commit.h"
 #include "refs.h"
 #include "diff.h"
 #include "revision.h"
 #include "string-list.h"
-#include "reflog-walk.h"
 
 struct complete_reflogs {
 	char *ref;
diff --git a/revision.c b/revision.c
index 18425d6..b9d2aed 100644
--- a/revision.c
+++ b/revision.c
@@ -1,4 +1,4 @@
-#include "cache.h"
+#include "reflog-walk.h"
 #include "tag.h"
 #include "blob.h"
 #include "commit.h"
@@ -7,7 +7,6 @@
 #include "log-tree.h"
 #include "graph.h"
 #include "grep.h"
-#include "reflog-walk.h"
 #include "patch-ids.h"
 
 volatile show_early_output_fn_t show_early_output;
-- 
1.6.1.3
Previous: Nathaniel P Dawson
Message 5 of 5 in “Header Includes Cleanup Part 2”
  1. 0/4 Header Includes Cleanup Part 2Nathaniel P Dawson, Mar 31, 2009
  2. 1/4 Header Includes Cleanup Part 2Nathaniel P Dawson, Mar 31, 2009
  3. 2/4 Header Includes Cleanup Part 2Nathaniel P Dawson, Mar 31, 2009
  4. 3/4 Header Includes Cleanup Part 2Nathaniel P Dawson, Mar 31, 2009
  5. 4/4 Header Includes Cleanup Part 2Nathaniel P Dawson, Mar 31, 2009

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.