summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-11-03 12:35:06 -0500
committerGitHub <noreply@github.com>2020-11-03 12:35:06 -0500
commitf62c7bae2ee760e5fc85d284ff804c7f4b16afa9 (patch)
treebd3396240d28c04fc4416f1f87fa564b72561f08
parent932dcf72c413891e86a4ab47342c0968836aa3fd (diff)
parent52463686afcf6ebca446c40dd32b3a7aa1e9ad48 (diff)
downloadostree-f62c7bae2ee760e5fc85d284ff804c7f4b16afa9.tar.gz
Merge pull request #2230 from alexlarsson/pull-dont-save-passed-in-summary
pull: Don't save into cache passed in GByte summaries
-rw-r--r--src/libostree/ostree-repo-pull.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libostree/ostree-repo-pull.c b/src/libostree/ostree-repo-pull.c
index da421db3..758c5054 100644
--- a/src/libostree/ostree-repo-pull.c
+++ b/src/libostree/ostree-repo-pull.c
@@ -4545,7 +4545,7 @@ ostree_repo_pull_with_options (OstreeRepo *self,
}
}
- if (!summary_from_cache && bytes_summary && bytes_sig)
+ if (!summary_from_cache && bytes_summary && bytes_sig && summary_sig_bytes_v == NULL)
{
if (!pull_data->remote_repo_local &&
!_ostree_repo_cache_summary (self,