Thread (5 messages) flat view 5 messages, 1 author, 2016-06-15
DORMANTno replies

[PATCH 4/4] Header Includes Cleanup Part 2

From: Nathaniel P Dawson <hidden>
Date: 2016-06-15 22:46:31
Subsystem: the rest · Maintainer: Linus Torvalds

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

Signed-off-by: Nathaniel P Dawson <redacted>
---
 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help