Git fork

archive.h: remove unnecessary include

The unnecessary include in the header transitively pulled in some
other headers actually needed by source files, though. Have those
source files explicitly include the headers they need.

Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>

authored by

Elijah Newren and committed by
Junio C Hamano
c2c4138c eea0e59f

+3 -1
+1
archive-tar.c
··· 9 9 #include "tar.h" 10 10 #include "archive.h" 11 11 #include "object-store-ll.h" 12 + #include "strbuf.h" 12 13 #include "streaming.h" 13 14 #include "run-command.h" 14 15 #include "write-or-die.h"
+1
archive-zip.c
··· 10 10 #include "streaming.h" 11 11 #include "utf8.h" 12 12 #include "object-store-ll.h" 13 + #include "strbuf.h" 13 14 #include "userdiff.h" 14 15 #include "write-or-die.h" 15 16 #include "xdiff-interface.h"
+1
archive.c
··· 5 5 #include "environment.h" 6 6 #include "gettext.h" 7 7 #include "hex.h" 8 + #include "object-name.h" 8 9 #include "path.h" 9 10 #include "pretty.h" 10 11 #include "setup.h"
-1
archive.h
··· 1 1 #ifndef ARCHIVE_H 2 2 #define ARCHIVE_H 3 3 4 - #include "object-name.h" 5 4 #include "pathspec.h" 6 5 #include "string-list.h" 7 6