diff options
author | Junio C Hamano <gitster@pobox.com> | 2023-04-13 10:20:56 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-04-13 10:20:57 -0700 |
commit | b9afefff0bc6d2e59599e192d664c61c8974c134 (patch) | |
tree | 6475d75b4b825961296cbcfc864408dfcc11e6d3 /remote.c | |
parent | 15816b0a8ae864e36a03af255e1d048f21d56b4d (diff) | |
parent | 4711556905f381c01f1fbae205f67cfa673ab44a (diff) | |
download | git-b9afefff0bc6d2e59599e192d664c61c8974c134.tar.gz |
Merge branch 'en/header-split-cache-h' into next
Header clean-up.
* en/header-split-cache-h: (23 commits)
mailmap, quote: move declarations of global vars to correct unit
treewide: reduce includes of cache.h in other headers
treewide: remove double forward declaration of read_in_full
cache.h: remove unnecessary includes
treewide: remove cache.h inclusion due to pager.h changes
pager.h: move declarations for pager.c functions from cache.h
treewide: remove cache.h inclusion due to editor.h changes
editor: move editor-related functions and declarations into common file
treewide: remove cache.h inclusion due to object.h changes
object.h: move some inline functions and defines from cache.h
treewide: remove cache.h inclusion due to object-file.h changes
object-file.h: move declarations for object-file.c functions from cache.h
treewide: remove cache.h inclusion due to git-zlib changes
git-zlib: move declarations for git-zlib functions from cache.h
treewide: remove cache.h inclusion due to object-name.h changes
object-name.h: move declarations for object-name.c functions from cache.h
treewide: remove unnecessary cache.h inclusion
treewide: be explicit about dependence on mem-pool.h
treewide: be explicit about dependence on oid-array.h
treewide: be explicit about dependence on pack-revindex.h
...
Diffstat (limited to 'remote.c')
-rw-r--r-- | remote.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,4 @@ -#include "cache.h" +#include "git-compat-util.h" #include "abspath.h" #include "alloc.h" #include "config.h" @@ -9,6 +9,7 @@ #include "urlmatch.h" #include "refs.h" #include "refspec.h" +#include "object-name.h" #include "object-store.h" #include "commit.h" #include "diff.h" |