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
This commit is contained in:
Dan Nicholson 2018-08-02 14:14:10 -05:00 committed by Atomic Bot
parent ce4eb12ffb
commit 1c69f1ed31
1 changed files with 4 additions and 1 deletions

View File

@ -3986,7 +3986,10 @@ ostree_repo_pull_with_options (OstreeRepo *self,
goto out; goto out;
if (bytes_summary) 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) if (!pull_data->summary && !bytes_summary)
{ {