diff options
author | Junio C Hamano <gitster@pobox.com> | 2023-04-06 22:38:31 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-04-06 22:38:31 +0200 |
commit | 6047b28eb7e1a0b0061c5310034f7b5683ea401a (patch) | |
tree | aaf1292a72a358ebefa2e5e12756a84ecf1fba02 /negotiator | |
parent | Merge branch 'ab/remove-implicit-use-of-the-repository' (diff) | |
parent | csum-file.h: remove unnecessary inclusion of cache.h (diff) | |
download | git-6047b28eb7e1a0b0061c5310034f7b5683ea401a.tar.xz git-6047b28eb7e1a0b0061c5310034f7b5683ea401a.zip |
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 'negotiator')
-rw-r--r-- | negotiator/default.c | 2 | ||||
-rw-r--r-- | negotiator/skipping.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/negotiator/default.c b/negotiator/default.c index 658d9dd6b9..f4b78eb47d 100644 --- a/negotiator/default.c +++ b/negotiator/default.c @@ -1,4 +1,4 @@ -#include "cache.h" +#include "git-compat-util.h" #include "default.h" #include "../commit.h" #include "../fetch-negotiator.h" diff --git a/negotiator/skipping.c b/negotiator/skipping.c index c4de512e6e..c7d6ab39bc 100644 --- a/negotiator/skipping.c +++ b/negotiator/skipping.c @@ -1,4 +1,4 @@ -#include "cache.h" +#include "git-compat-util.h" #include "skipping.h" #include "../commit.h" #include "../fetch-negotiator.h" |