From 0fa7df935c15828304c80d7bff118cf2398290a6 Mon Sep 17 00:00:00 2001 From: dploch Date: Wed, 30 Oct 2024 14:29:19 -0400 Subject: [PATCH] rebase: fix typo --- cli/src/commands/rebase.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cli/src/commands/rebase.rs b/cli/src/commands/rebase.rs index 89f9d4fe98..49e907c8ba 100644 --- a/cli/src/commands/rebase.rs +++ b/cli/src/commands/rebase.rs @@ -299,7 +299,7 @@ fn rebase_revisions( settings: &UserSettings, workspace_command: &mut WorkspaceCommandHelper, revisions: &[RevisionArg], - rebase_destionation: &RebaseDestinationArgs, + rebase_destination: &RebaseDestinationArgs, rebase_options: &RebaseOptions, ) -> Result<(), CommandError> { let target_commits: Vec<_> = workspace_command @@ -309,8 +309,8 @@ fn rebase_revisions( workspace_command.check_rewritable(target_commits.iter().ids())?; let (new_parents, new_children) = - compute_rebase_destination(ui, workspace_command, rebase_destionation)?; - if rebase_destionation.destination.is_some() && new_children.is_empty() { + compute_rebase_destination(ui, workspace_command, rebase_destination)?; + if rebase_destination.destination.is_some() && new_children.is_empty() { for commit in &target_commits { if new_parents.contains(commit) { return Err(user_error(format!(