Merge pull request #2435 from RBuddel/fix-delta-files-resume-legacy-transaction
repo-pull: legacy_transaction_resuming flag ignored
This commit is contained in:
commit
7e4c4f2a69
|
|
@ -2439,7 +2439,7 @@ get_best_static_delta_start_for (OtPullData *pull_data,
|
||||||
if (!ostree_repo_load_commit (pull_data->repo, to_revision,
|
if (!ostree_repo_load_commit (pull_data->repo, to_revision,
|
||||||
NULL, &to_rev_state, error))
|
NULL, &to_rev_state, error))
|
||||||
return FALSE;
|
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! */
|
/* We already have this commit, we're done! */
|
||||||
out_result->result = DELTA_SEARCH_RESULT_UNCHANGED;
|
out_result->result = DELTA_SEARCH_RESULT_UNCHANGED;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue