summaryrefslogtreecommitdiff
path: root/src/libostree
diff options
context:
space:
mode:
authorLuca Bruno <luca.bruno@coreos.com>2021-09-08 08:52:54 +0000
committerGitHub <noreply@github.com>2021-09-08 08:52:54 +0000
commit7e4c4f2a69baa184147128c00377135239dd1d84 (patch)
treebde30a5c162c92d33d5975bc4ac1e3d531fdf36f /src/libostree
parent20db6e52d13e2e8927ade236e3cd1d3c17934030 (diff)
parent744bf943691495aee91d4ce73db6a3ace95cc8c7 (diff)
downloadostree-7e4c4f2a69baa184147128c00377135239dd1d84.tar.gz
Merge pull request #2435 from RBuddel/fix-delta-files-resume-legacy-transaction
repo-pull: legacy_transaction_resuming flag ignored
Diffstat (limited to 'src/libostree')
-rw-r--r--src/libostree/ostree-repo-pull.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libostree/ostree-repo-pull.c b/src/libostree/ostree-repo-pull.c
index 12409e63..388f782b 100644
--- a/src/libostree/ostree-repo-pull.c
+++ b/src/libostree/ostree-repo-pull.c
@@ -2439,7 +2439,7 @@ get_best_static_delta_start_for (OtPullData *pull_data,
if (!ostree_repo_load_commit (pull_data->repo, to_revision,
NULL, &to_rev_state, error))
return FALSE;
- if (!(to_rev_state & OSTREE_REPO_COMMIT_STATE_PARTIAL))
+ if (!(commitstate_is_partial(pull_data, to_rev_state)))
{
/* We already have this commit, we're done! */
out_result->result = DELTA_SEARCH_RESULT_UNCHANGED;