repo: Move the scanning hardlinks optimization out of prepare_transaction
This is just a terrible API to have. Make the scanning a separate method, and document it as an optimization.
This commit is contained in:
1 parent
f84504a8c4
commit
bd2948e964
6 files changed
+48
-15
No files matched your search
@@ -1286,7 +1286,7 @@ ostree_repo_pull (OstreeRepo *self,
|
||||
}
|
||||
}
|
||||
|
||||
if (!ostree_repo_prepare_transaction (pull_data->repo, FALSE, &pull_data->transaction_resuming,
|
||||
if (!ostree_repo_prepare_transaction (pull_data->repo, &pull_data->transaction_resuming,
|
||||
cancellable, error))
|
||||
goto out;
|
||||
|
||||
|
||||
Reference in new issue
Block a user