diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-07-17 00:42:53 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-07-17 00:42:53 (GMT) |
commit | 8721e2eaedd0290ef399f638912a49b36402e715 (patch) | |
tree | 3adba2f16502f304808a5ec8f38e96bf3830f988 /repository.h | |
parent | bd4232fac3319890429ec303e2f7c3d287c8eaa3 (diff) | |
parent | ef830cc4341260ef45ffe6c7164e23505d45a5a2 (diff) | |
download | git-8721e2eaedd0290ef399f638912a49b36402e715.zip git-8721e2eaedd0290ef399f638912a49b36402e715.tar.gz git-8721e2eaedd0290ef399f638912a49b36402e715.tar.bz2 |
Merge branch 'jt/partial-clone-submodule-1'
Prepare the internals for lazily fetching objects in submodules
from their promisor remotes.
* jt/partial-clone-submodule-1:
promisor-remote: teach lazy-fetch in any repo
run-command: refactor subprocess env preparation
submodule: refrain from filtering GIT_CONFIG_COUNT
promisor-remote: support per-repository config
repository: move global r_f_p_c to repo struct
Diffstat (limited to 'repository.h')
-rw-r--r-- | repository.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/repository.h b/repository.h index a45f752..3740c93 100644 --- a/repository.h +++ b/repository.h @@ -10,6 +10,7 @@ struct lock_file; struct pathspec; struct raw_object_store; struct submodule_cache; +struct promisor_remote_config; enum untracked_cache_setting { UNTRACKED_CACHE_UNSET = -1, @@ -139,6 +140,10 @@ struct repository { /* True if commit-graph has been disabled within this process. */ int commit_graph_disabled; + /* Configurations related to promisor remotes. */ + char *repository_format_partial_clone; + struct promisor_remote_config *promisor_remote_config; + /* Configurations */ /* Indicate if a repository has a different 'commondir' from 'gitdir' */ |