diff options
author | Junio C Hamano <gitster@pobox.com> | 2023-04-25 22:56:19 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-04-25 22:56:20 +0200 |
commit | 0807e57807aaffe2813fffb7704dcc9153f03832 (patch) | |
tree | c6a5e764ff9a3e24c7b054ade453c161c2c4b2e5 /submodule.c | |
parent | Sync with Git 2.40.1 (diff) | |
parent | protocol.h: move definition of DEFAULT_GIT_PORT from cache.h (diff) | |
download | git-0807e57807aaffe2813fffb7704dcc9153f03832.tar.xz git-0807e57807aaffe2813fffb7704dcc9153f03832.zip |
Merge branch 'en/header-split-cache-h'
Header clean-up.
* en/header-split-cache-h: (24 commits)
protocol.h: move definition of DEFAULT_GIT_PORT from cache.h
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
...
Diffstat (limited to 'submodule.c')
-rw-r--r-- | submodule.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/submodule.c b/submodule.c index 94644fac0a..2e78f51349 100644 --- a/submodule.c +++ b/submodule.c @@ -24,10 +24,13 @@ #include "remote.h" #include "worktree.h" #include "parse-options.h" +#include "object-file.h" +#include "object-name.h" #include "object-store.h" #include "commit-reach.h" #include "setup.h" #include "shallow.h" +#include "trace2.h" static int config_update_recurse_submodules = RECURSE_SUBMODULES_OFF; static int initialized_fetch_ref_tips; |