diff --git a/crates/git/src/repository.rs b/crates/git/src/repository.rs index 497f31094e95091db0c819a1aeed63eebf61f554..48648809e5dee26f5e678ef8942c4932318ec314 100644 --- a/crates/git/src/repository.rs +++ b/crates/git/src/repository.rs @@ -1672,10 +1672,7 @@ impl GitRepository for RealGitRepository { from_commit: Option, ) -> BoxFuture<'_, Result<()>> { let git_binary = self.git_binary(); - let mut args = vec![ - OsString::from("worktree"), - OsString::from("add"), - ]; + let mut args = vec![OsString::from("worktree"), OsString::from("add")]; if let Some(branch_name) = &branch_name { args.push(OsString::from("-b")); args.push(OsString::from(branch_name.as_str()));