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

[PATCH 5/5] Header includes cleanup

From
NDNathaniel P Dawson <nathaniel.dawson@gmail.com>
Date
Mar 30, 2009, 09:55 UTC
Message-ID
<1238406925-15907-6-git-send-email-nathaniel.dawson@gmail.com>
In-Reply-To
<1238406925-15907-5-git-send-email-nathaniel.dawson@gmail.com>
Deleted header includes of tree-walk.h where diff.h was included since diff.h includes it.
Signed-off-by: Nathaniel P Dawson <nathaniel.dawson@gmail.com>
---
 builtin-blame.c        |    1 -
 builtin-checkout.c     |    3 +--
 builtin-pack-objects.c |    1 -
 builtin-reflog.c       |    1 -
 builtin-rev-list.c     |    1 -
 list-objects.c         |    1 -
 merge-recursive.c      |    1 -
 7 files changed, 1 insertions(+), 8 deletions(-)
diff --git a/builtin-blame.c b/builtin-blame.c
index a91d350..bce181c 100644
--- a/builtin-blame.c
+++ b/builtin-blame.c
@@ -6,7 +6,6 @@
 #include "builtin.h"
 #include "blob.h"
 #include "tag.h"
-#include "tree-walk.h"
 #include "diff.h"
 #include "diffcore.h"
 #include "revision.h"
diff --git a/builtin-checkout.c b/builtin-checkout.c
index f8bb9ea..3000e87 100644
--- a/builtin-checkout.c
+++ b/builtin-checkout.c
@@ -3,13 +3,12 @@
 #include "parse-options.h"
 #include "refs.h"
 #include "tree.h"
-#include "tree-walk.h"
+#include "diff.h"
 #include "unpack-trees.h"
 #include "dir.h"
 #include "run-command.h"
 #include "merge-recursive.h"
 #include "branch.h"
-#include "diff.h"
 #include "revision.h"
 #include "remote.h"
 #include "xdiff-interface.h"
diff --git a/builtin-pack-objects.c b/builtin-pack-objects.c
index c53147a..9d87fc7 100644
--- a/builtin-pack-objects.c
+++ b/builtin-pack-objects.c
@@ -7,7 +7,6 @@
 #include "pack.h"
 #include "pack-revindex.h"
 #include "csum-file.h"
-#include "tree-walk.h"
 #include "diff.h"
 #include "revision.h"
 #include "list-objects.h"
diff --git a/builtin-reflog.c b/builtin-reflog.c
index fcd92e8..4c122d6 100644
--- a/builtin-reflog.c
+++ b/builtin-reflog.c
@@ -1,7 +1,6 @@
 #include "builtin.h"
 #include "refs.h"
 #include "dir.h"
-#include "tree-walk.h"
 #include "diff.h"
 #include "revision.h"
 #include "reachable.h"
diff --git a/builtin-rev-list.c b/builtin-rev-list.c
index bc86e3c..cedfe9a 100644
--- a/builtin-rev-list.c
+++ b/builtin-rev-list.c
@@ -3,7 +3,6 @@
 #include "refs.h"
 #include "tag.h"
 #include "tree.h"
-#include "tree-walk.h"
 #include "diff.h"
 #include "revision.h"
 #include "list-objects.h"
diff --git a/list-objects.c b/list-objects.c
index 6446f81..715e06d 100644
--- a/list-objects.c
+++ b/list-objects.c
@@ -3,7 +3,6 @@
 #include "commit.h"
 #include "blob.h"
 #include "diff.h"
-#include "tree-walk.h"
 #include "revision.h"
 #include "list-objects.h"
 
diff --git a/merge-recursive.c b/merge-recursive.c
index 352677c..370151e 100644
--- a/merge-recursive.c
+++ b/merge-recursive.c
@@ -6,7 +6,6 @@
 #include "builtin.h"
 #include "blob.h"
 #include "cache-tree.h"
-#include "tree-walk.h"
 #include "diff.h"
 #include "diffcore.h"
 #include "tag.h"
-- 
1.6.1.3
Previous: Nathaniel P DawsonNext: Johannes Sixt
Message 6 of 17 in “Header includes cleanup”
  1. 0/5 Header includes cleanupNathaniel P Dawson, Mar 30, 2009
  2. 1/5 Header includes cleanupNathaniel P Dawson, Mar 30, 2009
  3. 2/5 Header includes cleanupNathaniel P Dawson, Mar 30, 2009
  4. 3/5 Header includes cleanupNathaniel P Dawson, Mar 30, 2009
  5. 4/5 Header includes cleanupNathaniel P Dawson, Mar 30, 2009
  6. 5/5 Header includes cleanupNathaniel P Dawson, Mar 30, 2009
  7. Johannes SixtMar 30, 2009
  8. Nathaniel P DawsonMar 30, 2009
  9. Christian CouderMar 31, 2009
  10. Junio C HamanoMar 31, 2009
  11. Christian CouderApr 2, 2009
  12. Junio C HamanoApr 2, 2009
  13. Jeff KingApr 2, 2009
  14. Christian CouderApr 3, 2009
  15. Jeff KingApr 3, 2009
  16. Christian CouderApr 3, 2009
  17. Christian CouderMar 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.