diff --git a/app/xdg-app-builtins-repo-update.c b/app/xdg-app-builtins-repo-update.c index c6e05598..084f47b9 100644 --- a/app/xdg-app-builtins-repo-update.c +++ b/app/xdg-app-builtins-repo-update.c @@ -115,9 +115,12 @@ xdg_app_builtin_build_update_repo (int argc, char **argv, all_deltas_hash = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL); for (i = 0; i < all_deltas->len; i++) - g_hash_table_insert (all_deltas_hash, - g_strdup (g_ptr_array_index (all_deltas, i)), - NULL); + { + g_print ("adding %s\n", (char *)g_ptr_array_index (all_deltas, i)); + g_hash_table_insert (all_deltas_hash, + g_strdup (g_ptr_array_index (all_deltas, i)), + NULL); + } if (!ostree_repo_list_refs (repo, NULL, &all_refs, cancellable, error)) @@ -145,6 +148,7 @@ xdg_app_builtin_build_update_repo (int argc, char **argv, /* From empty */ + g_print ("looking for %s\n", commit); if (!g_hash_table_contains (all_deltas_hash, commit)) { g_print ("Generating from-empty delta for %s (%s)\n", ref, commit); diff --git a/common/xdg-app-dir.c b/common/xdg-app-dir.c index 2c70497f..8b974379 100644 --- a/common/xdg-app-dir.c +++ b/common/xdg-app-dir.c @@ -3596,7 +3596,7 @@ xdg_app_dir_fetch_ref_cache (XdgAppDir *self, if (!xdg_app_dir_remote_fetch_summary (self, remote_name, &summary_bytes, cancellable, error)) - return NULL; + return FALSE; if (summary_bytes == NULL) {