mirror of
https://github.com/martinvonz/jj.git
synced 2025-05-05 15:32:49 +00:00
local_working_copy: avoid a block_on()
in already async function
This commit is contained in:
parent
a3dcd8b659
commit
13477940af
@ -1523,7 +1523,7 @@ impl FileSnapshotter<'_> {
|
|||||||
data.conflict_marker_len as usize
|
data.conflict_marker_len as usize
|
||||||
}),
|
}),
|
||||||
)
|
)
|
||||||
.block_on()?;
|
.await?;
|
||||||
match new_file_ids.into_resolved() {
|
match new_file_ids.into_resolved() {
|
||||||
Ok(file_id) => {
|
Ok(file_id) => {
|
||||||
// On Windows, we preserve the executable bit from the merged trees.
|
// On Windows, we preserve the executable bit from the merged trees.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user