summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>2008-07-18 16:30:47 +0200
committerJunio C Hamano <gitster@pobox.com>2008-07-19 11:17:43 -0700
commit8575ea559ec4f0ea8b292bca7b262f221c5aa122 (patch)
treebf58c16928a2f5eb06723f46a56b8ecca4140c22
parent3a176c6cde650f8907b2dbafafb72f6375038613 (diff)
downloadgit-8575ea559ec4f0ea8b292bca7b262f221c5aa122.tar.gz
archive: remove unused headers
Remove obsolete #includes. Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--archive-tar.c2
-rw-r--r--archive-zip.c5
-rw-r--r--builtin-archive.c2
3 files changed, 0 insertions, 9 deletions
diff --git a/archive-tar.c b/archive-tar.c
index f9eb726116..13029619e5 100644
--- a/archive-tar.c
+++ b/archive-tar.c
@@ -2,9 +2,7 @@
* Copyright (c) 2005, 2006 Rene Scharfe
*/
#include "cache.h"
-#include "commit.h"
#include "tar.h"
-#include "builtin.h"
#include "archive.h"
#define RECORDSIZE (512)
diff --git a/archive-zip.c b/archive-zip.c
index fb12398b0f..cf285044e3 100644
--- a/archive-zip.c
+++ b/archive-zip.c
@@ -2,11 +2,6 @@
* Copyright (c) 2006 Rene Scharfe
*/
#include "cache.h"
-#include "commit.h"
-#include "blob.h"
-#include "tree.h"
-#include "quote.h"
-#include "builtin.h"
#include "archive.h"
static int zip_date;
diff --git a/builtin-archive.c b/builtin-archive.c
index cff6ce7de3..df97724696 100644
--- a/builtin-archive.c
+++ b/builtin-archive.c
@@ -7,10 +7,8 @@
#include "archive.h"
#include "commit.h"
#include "tree-walk.h"
-#include "exec_cmd.h"
#include "pkt-line.h"
#include "sideband.h"
-#include "attr.h"
static const char archive_usage[] = \
"git archive --format=<fmt> [--prefix=<prefix>/] [--verbose] [<extra>] <tree-ish> [path...]";