[PATCH 2/5] Header includes cleanup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Deleted header includes of object.h where blob.h was included since blob.h includes it.

Signed-off-by: Nathaniel P Dawson <nathaniel.dawson@xxxxxxxxx>
---
 alloc.c                  |    1 -
 builtin-for-each-ref.c   |    1 -
 builtin-pack-objects.c   |    1 -
 builtin-unpack-objects.c |    3 +--
 fast-import.c            |    1 -
 fsck.c                   |    1 -
 object.c                 |    1 -
 7 files changed, 1 insertions(+), 8 deletions(-)

diff --git a/alloc.c b/alloc.c
index 216c23a..5b3d4a2 100644
--- a/alloc.c
+++ b/alloc.c
@@ -10,7 +10,6 @@
  * for the new allocation is.
  */
 #include "cache.h"
-#include "object.h"
 #include "blob.h"
 #include "tree.h"
 #include "commit.h"
diff --git a/builtin-for-each-ref.c b/builtin-for-each-ref.c
index ab9bfa4..6cbfb03 100644
--- a/builtin-for-each-ref.c
+++ b/builtin-for-each-ref.c
@@ -1,6 +1,5 @@
 #include "builtin.h"
 #include "blob.h"
-#include "object.h"
 #include "refs.h"
 #include "tag.h"
 #include "tree.h"
diff --git a/builtin-pack-objects.c b/builtin-pack-objects.c
index fe7a8de..c53147a 100644
--- a/builtin-pack-objects.c
+++ b/builtin-pack-objects.c
@@ -1,6 +1,5 @@
 #include "builtin.h"
 #include "attr.h"
-#include "object.h"
 #include "blob.h"
 #include "tag.h"
 #include "tree.h"
diff --git a/builtin-unpack-objects.c b/builtin-unpack-objects.c
index 4f5495d..674bede 100644
--- a/builtin-unpack-objects.c
+++ b/builtin-unpack-objects.c
@@ -1,8 +1,7 @@
 #include "builtin.h"
-#include "object.h"
+#include "blob.h"
 #include "delta.h"
 #include "pack.h"
-#include "blob.h"
 #include "tag.h"
 #include "tree.h"
 #include "tree-walk.h"
diff --git a/fast-import.c b/fast-import.c
index e3c138f..8d1d9f3 100644
--- a/fast-import.c
+++ b/fast-import.c
@@ -141,7 +141,6 @@ Format of STDIN stream:
 */
 
 #include "builtin.h"
-#include "object.h"
 #include "blob.h"
 #include "tree.h"
 #include "delta.h"
diff --git a/fsck.c b/fsck.c
index 511b82c..e903f6a 100644
--- a/fsck.c
+++ b/fsck.c
@@ -1,5 +1,4 @@
 #include "cache.h"
-#include "object.h"
 #include "blob.h"
 #include "tree.h"
 #include "tree-walk.h"
diff --git a/object.c b/object.c
index 7e6a92c..380652f 100644
--- a/object.c
+++ b/object.c
@@ -1,5 +1,4 @@
 #include "cache.h"
-#include "object.h"
 #include "blob.h"
 #include "tree.h"
 #include "commit.h"
-- 
1.6.1.3

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux