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.

Fix broken merge (#27551)

Cole Miller29e2e13e6ded
diff --git a/crates/git_ui/src/git_panel.rs b/crates/git_ui/src/git_panel.rs
index c9d66bdc313..3296df0ac8d 100644
--- a/crates/git_ui/src/git_panel.rs
+++ b/crates/git_ui/src/git_panel.rs
@@ -932,9 +932,9 @@ impl GitPanel {
&format!(
"Are you sure you want to restore {}?",
entry
- .worktree_path
+ .repo_path
.file_name()
- .unwrap_or(entry.worktree_path.as_os_str())
+ .unwrap_or(entry.repo_path.as_os_str())
.to_string_lossy()
),
None,