Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-04-06 23:38:31 +0300
committerJunio C Hamano <gitster@pobox.com>2023-04-06 23:38:31 +0300
commit6047b28eb7e1a0b0061c5310034f7b5683ea401a (patch)
treeaaf1292a72a358ebefa2e5e12756a84ecf1fba02 /packfile.c
parent72871b198f50962a555685726e42f435cdd4efa1 (diff)
parentec2f02696157d3781fbfd410f0017c49cc1eda01 (diff)
Merge branch 'en/header-split-cleanup'
Split key function and data structure definitions out of cache.h to new header files and adjust the users. * en/header-split-cleanup: csum-file.h: remove unnecessary inclusion of cache.h write-or-die.h: move declarations for write-or-die.c functions from cache.h treewide: remove cache.h inclusion due to setup.h changes setup.h: move declarations for setup.c functions from cache.h treewide: remove cache.h inclusion due to environment.h changes environment.h: move declarations for environment.c functions from cache.h treewide: remove unnecessary includes of cache.h wrapper.h: move declarations for wrapper.c functions from cache.h path.h: move function declarations for path.c functions from cache.h cache.h: remove expand_user_path() abspath.h: move absolute path functions from cache.h environment: move comment_line_char from cache.h treewide: remove unnecessary cache.h inclusion from several sources treewide: remove unnecessary inclusion of gettext.h treewide: be explicit about dependence on gettext.h treewide: remove unnecessary cache.h inclusion from a few headers
Diffstat (limited to 'packfile.c')
-rw-r--r--packfile.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/packfile.c b/packfile.c
index 53fcc0f44c..b120405ccc 100644
--- a/packfile.c
+++ b/packfile.c
@@ -1,5 +1,7 @@
-#include "git-compat-util.h"
+#include "cache.h"
#include "alloc.h"
+#include "environment.h"
+#include "gettext.h"
#include "hex.h"
#include "list.h"
#include "pack.h"
@@ -19,6 +21,7 @@
#include "midx.h"
#include "commit-graph.h"
#include "promisor-remote.h"
+#include "wrapper.h"
char *odb_pack_name(struct strbuf *buf,
const unsigned char *hash,