summaryrefslogtreecommitdiffstats
path: root/archive.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-01-08 23:05:15 +0100
committerJunio C Hamano <gitster@pobox.com>2024-01-08 23:05:15 +0100
commit492ee03f60297e7e83d101f4519ab8abc98782bc (patch)
tree05800113e2443a2b1ec4771f38f2f3904528e5a9 /archive.c
parentMerge branch 'ml/doc-merge-updates' (diff)
parenttreewide: remove unnecessary includes in source files (diff)
downloadgit-492ee03f60297e7e83d101f4519ab8abc98782bc.tar.xz
git-492ee03f60297e7e83d101f4519ab8abc98782bc.zip
Merge branch 'en/header-cleanup'
Remove unused header "#include". * en/header-cleanup: treewide: remove unnecessary includes in source files treewide: add direct includes currently only pulled in transitively trace2/tr2_tls.h: remove unnecessary include submodule-config.h: remove unnecessary include pkt-line.h: remove unnecessary include line-log.h: remove unnecessary include http.h: remove unnecessary include fsmonitor--daemon.h: remove unnecessary includes blame.h: remove unnecessary includes archive.h: remove unnecessary include treewide: remove unnecessary includes in source files treewide: remove unnecessary includes from header files
Diffstat (limited to 'archive.c')
-rw-r--r--archive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/archive.c b/archive.c
index 8da820d1ce..a6730bebfa 100644
--- a/archive.c
+++ b/archive.c
@@ -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"
@@ -17,7 +18,6 @@
#include "archive.h"
#include "parse-options.h"
#include "unpack-trees.h"
-#include "dir.h"
#include "quote.h"
static char const * const archive_usage[] = {