archive: remove unused headers
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>
Fri, 18 Jul 2008 14:30:47 +0000 (16:30 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sat, 19 Jul 2008 18:17:43 +0000 (11:17 -0700)
Remove obsolete #includes.

Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
archive-tar.c
archive-zip.c
builtin-archive.c

index f9eb726116854f6e45ab208e3b5e121c26cf8b05..13029619e5ec34bac4ba61a6fc08800ab36f4a1b 100644 (file)
@@ -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)
index fb12398b0f56fecaf75b85ea4cace5173214bb5b..cf285044e3576d0127c3215cb1253443d67517dc 100644 (file)
@@ -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;
index cff6ce7de3b4ecd6e0f03cd8d86026f4ee61fe1c..df9772469681285d69f968b59172c4aaee2eb679 100644 (file)
@@ -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...]";