Skip to content

Commit 8575ea5

Browse files
René Scharfegitster
authored andcommitted
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>
1 parent 3a176c6 commit 8575ea5

File tree

3 files changed

+0
-9
lines changed

3 files changed

+0
-9
lines changed

archive-tar.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
* Copyright (c) 2005, 2006 Rene Scharfe
33
*/
44
#include "cache.h"
5-
#include "commit.h"
65
#include "tar.h"
7-
#include "builtin.h"
86
#include "archive.h"
97

108
#define RECORDSIZE (512)

archive-zip.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,6 @@
22
* Copyright (c) 2006 Rene Scharfe
33
*/
44
#include "cache.h"
5-
#include "commit.h"
6-
#include "blob.h"
7-
#include "tree.h"
8-
#include "quote.h"
9-
#include "builtin.h"
105
#include "archive.h"
116

127
static int zip_date;

builtin-archive.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,8 @@
77
#include "archive.h"
88
#include "commit.h"
99
#include "tree-walk.h"
10-
#include "exec_cmd.h"
1110
#include "pkt-line.h"
1211
#include "sideband.h"
13-
#include "attr.h"
1412

1513
static const char archive_usage[] = \
1614
"git archive --format=<fmt> [--prefix=<prefix>/] [--verbose] [<extra>] <tree-ish> [path...]";

0 commit comments

Comments
 (0)