Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Update toast for checkout failure

Piotr Osiewicz1eb0f3d09156
diff --git a/crates/collab_ui/src/branch_list.rs b/crates/collab_ui/src/branch_list.rs
index 2fb8721c946..eb6b9c6f540 100644
--- a/crates/collab_ui/src/branch_list.rs
+++ b/crates/collab_ui/src/branch_list.rs
@@ -159,7 +159,7 @@ impl PickerDelegate for BranchListDelegate {
model.show_toast(
Toast::new(
GIT_CHECKOUT_FAILURE_ID,
- format!("Failed to check out branch `{current_pick}`, error: `{err}`"),
+ format!("Failed to checkout branch '{current_pick}', check for conflicts or unstashed files"),
),
ctx,
)