local_working_copy: avoid a block_on() in already async function

This commit is contained in:
Martin von Zweigbergk 2025-04-25 07:52:29 -07:00
parent a3dcd8b659
commit 13477940af

View File

@ -1523,7 +1523,7 @@ impl FileSnapshotter<'_> {
data.conflict_marker_len as usize
}),
)
.block_on()?;
.await?;
match new_file_ids.into_resolved() {
Ok(file_id) => {
// On Windows, we preserve the executable bit from the merged trees.