summaryrefslogtreecommitdiff
path: root/src/other_tools/just_mr/fetch.cpp
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2023-11-17 10:54:57 +0100
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2023-11-21 10:21:29 +0100
commit19f7756b96f4eb1e75900e45e4488aaa8dfb81d9 (patch)
treebf12b1e7506c41514f950b05cc229bc4870a2971 /src/other_tools/just_mr/fetch.cpp
parent27ce81884242389c85e169445b3ce035a9dd04e1 (diff)
downloadjustbuild-19f7756b96f4eb1e75900e45e4488aaa8dfb81d9.tar.gz
archive repository: Query 'just serve' endpoint also when not marked absent
...before going to the network, if 'just serve' endpoint given. ContentCASMap was reworked to provide a cleaner logic for handling pure fetches, which also reduced code duplication in ContentGitMap.
Diffstat (limited to 'src/other_tools/just_mr/fetch.cpp')
-rw-r--r--src/other_tools/just_mr/fetch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/other_tools/just_mr/fetch.cpp b/src/other_tools/just_mr/fetch.cpp
index 16dcda22..ade217f2 100644
--- a/src/other_tools/just_mr/fetch.cpp
+++ b/src/other_tools/just_mr/fetch.cpp
@@ -242,7 +242,7 @@ auto MultiRepoFetch(std::shared_ptr<Configuration> const& config,
repo_desc_sha512->String())
: std::nullopt,
.origin = repo_name,
- .origin_from_distdir = false},
+ .fetch_only = true},
.repo_type = repo_type_str,
.subdir = subdir.empty() ? "." : subdir.string(),
.pragma_special = std::nullopt, // not used