mirror of
https://github.com/git/git
synced 2024-11-05 01:58:18 +00:00
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>
This commit is contained in:
parent
eea0e59ffb
commit
c2c4138c07
4 changed files with 3 additions and 1 deletions
|
@ -9,6 +9,7 @@
|
|||
#include "tar.h"
|
||||
#include "archive.h"
|
||||
#include "object-store-ll.h"
|
||||
#include "strbuf.h"
|
||||
#include "streaming.h"
|
||||
#include "run-command.h"
|
||||
#include "write-or-die.h"
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
#include "streaming.h"
|
||||
#include "utf8.h"
|
||||
#include "object-store-ll.h"
|
||||
#include "strbuf.h"
|
||||
#include "userdiff.h"
|
||||
#include "write-or-die.h"
|
||||
#include "xdiff-interface.h"
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
#include "environment.h"
|
||||
#include "gettext.h"
|
||||
#include "hex.h"
|
||||
#include "object-name.h"
|
||||
#include "path.h"
|
||||
#include "pretty.h"
|
||||
#include "setup.h"
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
#ifndef ARCHIVE_H
|
||||
#define ARCHIVE_H
|
||||
|
||||
#include "object-name.h"
|
||||
#include "pathspec.h"
|
||||
#include "string-list.h"
|
||||
|
||||
|
|
Loading…
Reference in a new issue