mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-08-17 08:10:52 +03:00
remote unneccesary borrow
This commit is contained in:
parent
23503afd25
commit
6e8e6b7b9b
@ -25,7 +25,7 @@ async fn workdir_vbranch_restore() -> anyhow::Result<()> {
|
|||||||
let line_count = round * 20;
|
let line_count = round * 20;
|
||||||
fs::write(
|
fs::write(
|
||||||
worktree_dir.join(format!("file{round}.txt")),
|
worktree_dir.join(format!("file{round}.txt")),
|
||||||
&make_lines(line_count),
|
make_lines(line_count),
|
||||||
)?;
|
)?;
|
||||||
let branch_id = controller
|
let branch_id = controller
|
||||||
.create_virtual_branch(
|
.create_virtual_branch(
|
||||||
|
Loading…
Reference in New Issue
Block a user