From 96e1eeda416d2c68d4a0c0b5e7b70ea9b4bde5b7 Mon Sep 17 00:00:00 2001 From: "gcp-cherry-pick-bot[bot]" <98988430+gcp-cherry-pick-bot[bot]@users.noreply.github.com> Date: Wed, 12 Mar 2025 17:41:38 -0400 Subject: [PATCH] Fix message on push (cherry-pick #26588) (#26595) Cherry-picked Fix message on push (#26588) Instead of saying "Successfully pushed new branch" we say "Pushed x to y" Release Notes: - N/A Co-authored-by: Conrad Irwin --- crates/git_ui/src/remote_output.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/git_ui/src/remote_output.rs b/crates/git_ui/src/remote_output.rs index 9ec58d8d82036d2fd80a6da5f700d7ee69d79b1c..787fe17be9b0b2a4a55f58e6d2fd4daee85321c1 100644 --- a/crates/git_ui/src/remote_output.rs +++ b/crates/git_ui/src/remote_output.rs @@ -143,7 +143,7 @@ pub fn format_output(action: &RemoteAction, output: RemoteCommandOutput) -> Succ } } else { SuccessMessage { - message: "Successfully pushed new branch".to_owned(), + message: format!("Pushed {} to {}", branch_name, remote_ref.name), style: SuccessStyle::ToastWithLog { output }, } }