diff options
author | Alexander Larsson <alexl@redhat.com> | 2016-04-14 22:12:25 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2016-04-14 22:12:25 +0200 |
commit | 3d7d9ece93bafae59bdbde0331cd4c8b9517a69f (patch) | |
tree | 83d4e2936ee098e1020be0061ae8f60db6904aeb /app | |
parent | 167564b63743313677bbb2d85b3941791094f75e (diff) | |
download | xdg-app-3d7d9ece93bafae59bdbde0331cd4c8b9517a69f.tar.gz |
Fix warning
Diffstat (limited to 'app')
-rw-r--r-- | app/xdg-app-builtins-repo-update.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/app/xdg-app-builtins-repo-update.c b/app/xdg-app-builtins-repo-update.c index c6e0559..084f47b 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); |