[ostree] repo: Fix the skip-summary-if-summary.sig-is-same cache
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree] repo: Fix the skip-summary-if-summary.sig-is-same cache
- Date: Tue, 15 Mar 2016 11:30:56 +0000 (UTC)
commit 9b919c8dd23fc1168327fbcaf3997d58b951e597
Author: Alexander Larsson <alexl redhat com>
Date: Tue Mar 15 12:04:43 2016 +0100
repo: Fix the skip-summary-if-summary.sig-is-same cache
This code was always downloading the summary even for a cache hit due
to a missing else.
src/libostree/ostree-repo.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/libostree/ostree-repo.c b/src/libostree/ostree-repo.c
index facc332..9352f5c 100644
--- a/src/libostree/ostree-repo.c
+++ b/src/libostree/ostree-repo.c
@@ -1803,6 +1803,7 @@ repo_remote_fetch_summary (OstreeRepo *self,
if (*out_summary)
from_cache = TRUE;
+ else
{
if (!_ostree_preload_metadata_file (self,
fetcher,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]