lib/pull: Fix an over-indented block
Signed-off-by: Philip Withnall <withnall@endlessm.com> Closes: #911 Approved by: cgwalters
This commit is contained in:
parent
c968c12ec3
commit
87413ee63b
|
|
@ -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))
|
if (!ot_ensure_unlinked_at (pull_data->repo->repo_dir_fd, commitpartial_path, 0))
|
||||||
goto out;
|
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))
|
g_hash_table_iter_init (&hash_iter, commits_to_fetch);
|
||||||
goto out;
|
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;
|
ret = TRUE;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue