From: René Scharfe Date: Fri, 18 Jul 2008 14:30:47 +0000 (+0200) Subject: archive: remove unused headers X-Git-Tag: v1.6.0-rc0~18 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8575ea559ec4f0ea8b292bca7b262f221c5aa122;p=git.git archive: remove unused headers Remove obsolete #includes. Signed-off-by: Rene Scharfe Signed-off-by: Junio C Hamano --- diff --git a/archive-tar.c b/archive-tar.c index f9eb72611..13029619e 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 fb12398b0..cf285044e 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 cff6ce7de..df9772469 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= [--prefix=/] [--verbose] [] [path...]";