From 1c69f1ed318ed8b9447119b0311074b89637ad61 Mon Sep 17 00:00:00 2001 From: Dan Nicholson Date: Thu, 2 Aug 2018 14:14:10 -0500 Subject: [PATCH] lib/pull: Add debug message when loading summary from cache This helps when debugging issues with the cached summary handling. Closes: #1698 Approved by: cgwalters --- src/libostree/ostree-repo-pull.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/libostree/ostree-repo-pull.c b/src/libostree/ostree-repo-pull.c index 80c31ed8..9eac6376 100644 --- a/src/libostree/ostree-repo-pull.c +++ b/src/libostree/ostree-repo-pull.c @@ -3986,7 +3986,10 @@ ostree_repo_pull_with_options (OstreeRepo *self, goto out; if (bytes_summary) - summary_from_cache = TRUE; + { + g_debug ("Loaded %s summary from cache", remote_name_or_baseurl); + summary_from_cache = TRUE; + } if (!pull_data->summary && !bytes_summary) {