From 87413ee63b1612ee4d870e2e19b2b58643201641 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Wed, 7 Jun 2017 14:31:19 +0100 Subject: [PATCH] lib/pull: Fix an over-indented block Signed-off-by: Philip Withnall Closes: #911 Approved by: cgwalters --- src/libostree/ostree-repo-pull.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/libostree/ostree-repo-pull.c b/src/libostree/ostree-repo-pull.c index 5d54a5a1..ed782cd5 100644 --- a/src/libostree/ostree-repo-pull.c +++ b/src/libostree/ostree-repo-pull.c @@ -3479,15 +3479,16 @@ ostree_repo_pull_with_options (OstreeRepo *self, if (!ot_ensure_unlinked_at (pull_data->repo->repo_dir_fd, commitpartial_path, 0)) goto out; } - g_hash_table_iter_init (&hash_iter, commits_to_fetch); - while (g_hash_table_iter_next (&hash_iter, &key, &value)) - { - const char *commit = value; - g_autofree char *commitpartial_path = _ostree_get_commitpartial_path (commit); - if (!ot_ensure_unlinked_at (pull_data->repo->repo_dir_fd, commitpartial_path, 0)) - goto out; - } + g_hash_table_iter_init (&hash_iter, commits_to_fetch); + while (g_hash_table_iter_next (&hash_iter, &key, &value)) + { + const char *commit = value; + g_autofree char *commitpartial_path = _ostree_get_commitpartial_path (commit); + + if (!ot_ensure_unlinked_at (pull_data->repo->repo_dir_fd, commitpartial_path, 0)) + goto out; + } } ret = TRUE;