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.

Open git panel when deploying project diff via action (#24751)

Cole Millerab4a6f1c7930
diff --git a/crates/git_ui/src/project_diff.rs b/crates/git_ui/src/project_diff.rs
index c48934850e4..2f812de686e 100644
--- a/crates/git_ui/src/project_diff.rs
+++ b/crates/git_ui/src/project_diff.rs
@@ -69,6 +69,7 @@ impl ProjectDiff {
window: &mut Window,
cx: &mut Context<Workspace>,
) {
+ workspace.open_panel::<GitPanel>(window, cx);
Self::deploy_at(workspace, None, window, cx)
}