lib/pull: Add debug message when loading summary from cache
authorDan Nicholson <nicholson@endlessm.com>
Thu, 2 Aug 2018 19:14:10 +0000 (14:14 -0500)
committerAtomic Bot <atomic-devel@projectatomic.io>
Tue, 14 Aug 2018 13:38:11 +0000 (13:38 +0000)
This helps when debugging issues with the cached summary handling.

Closes: #1698
Approved by: cgwalters

src/libostree/ostree-repo-pull.c

index 80c31ed8bef67613986cd60e8da8d5829e7ba33f..9eac6376bc6e8f8e13b420c56266e5408c6f4326 100644 (file)
@@ -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)
       {