diff --git a/crates/gitbutler-core/src/virtual_branches/controller.rs b/crates/gitbutler-core/src/virtual_branches/controller.rs index deaed4761..e1f415ced 100644 --- a/crates/gitbutler-core/src/virtual_branches/controller.rs +++ b/crates/gitbutler-core/src/virtual_branches/controller.rs @@ -639,9 +639,7 @@ impl ControllerInner { let _permit = self.semaphore.acquire().await; self.with_verify_branch(project_id, |project_repository, user| { - let result = - super::apply_branch(project_repository, branch_id, user).map_err(Into::into); - result + super::apply_branch(project_repository, branch_id, user).map_err(Into::into) }) }