diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2023-09-22 17:19:33 +0200 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2023-11-02 12:06:50 +0100 |
commit | cd7c3224480b0a8e9c93f22c10caea8fb987be07 (patch) | |
tree | 7dd1e711fb83082503e38388cfd9ff96a3b393d9 /src/other_tools/repo_map | |
parent | c8724482c2f06d88947f83a16935445b7561afd1 (diff) | |
download | justbuild-cd7c3224480b0a8e9c93f22c10caea8fb987be07.tar.gz |
content git map: Move handling of --fetch-absent flag from checkout to the map itself
Diffstat (limited to 'src/other_tools/repo_map')
-rw-r--r-- | src/other_tools/repo_map/repos_to_setup_map.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/other_tools/repo_map/repos_to_setup_map.cpp b/src/other_tools/repo_map/repos_to_setup_map.cpp index 7de7e2ff..a72903d1 100644 --- a/src/other_tools/repo_map/repos_to_setup_map.cpp +++ b/src/other_tools/repo_map/repos_to_setup_map.cpp @@ -151,7 +151,6 @@ void ArchiveCheckout(ExpressionPtr const& repo_desc, std::string const& repo_name, std::string const& repo_type, gsl::not_null<ContentGitMap*> const& content_git_map, - bool fetch_absent, gsl::not_null<TaskSystem*> const& ts, ReposToSetupMap::SetterPtr const& setter, ReposToSetupMap::LoggerPtr const& logger) { @@ -226,7 +225,7 @@ void ArchiveCheckout(ExpressionPtr const& repo_desc, .repo_type = repo_type, .subdir = subdir.empty() ? "." : subdir.string(), .pragma_special = pragma_special_value, - .absent = not fetch_absent and pragma_absent_value}; + .absent = pragma_absent_value}; // get the WS root as git tree content_git_map->ConsumeAfterKeysReady( ts, @@ -774,7 +773,6 @@ auto CreateReposToSetupMap(std::shared_ptr<Configuration> const& config, key, repo_type_str, content_git_map, - fetch_absent, ts, setter, wrapped_logger); |