Browse Source

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>
maint
René Scharfe 17 years ago committed by Junio C Hamano
parent
commit
8575ea559e
  1. 2
      archive-tar.c
  2. 5
      archive-zip.c
  3. 2
      builtin-archive.c

2
archive-tar.c

@ -2,9 +2,7 @@ @@ -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)

5
archive-zip.c

@ -2,11 +2,6 @@ @@ -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;

2
builtin-archive.c

@ -7,10 +7,8 @@ @@ -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...]";

Loading…
Cancel
Save