Merge pull request #1973 from mwleeds/avoid-extraneous-summary-copy
Don't copy summary for collection-ref mirror subset pulls
This commit is contained in:
4 files changed
+46
-3
No files matched your search
@@ -4567,7 +4567,8 @@ ostree_repo_pull_with_options (OstreeRepo *self,
|
||||
}
|
||||
}
|
||||
|
||||
if (pull_data->is_mirror && pull_data->summary_data && !refs_to_fetch && !configured_branches)
|
||||
if (pull_data->is_mirror && pull_data->summary_data &&
|
||||
!refs_to_fetch && !opt_collection_refs_set && !configured_branches)
|
||||
{
|
||||
GLnxFileReplaceFlags replaceflag =
|
||||
pull_data->repo->disable_fsync ? GLNX_FILE_REPLACE_NODATASYNC : 0;
|
||||
|
||||
Reference in new issue
Block a user