Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
git_panel: Fix Stage All/Unstage All ignoring partially staged files (#42677)
Jakub Konka3c577ba0195c
diff --git a/crates/project/src/git_store.rs b/crates/project/src/git_store.rsindex e75bafa2d2b..497c93833cb 100644--- a/crates/project/src/git_store.rs+++ b/crates/project/src/git_store.rs@@ -4060,7 +4060,7 @@ impl Repository {} else {Some(entry.repo_path)}- } else if entry.status.staging().has_staged() {+ } else if entry.status.staging().is_fully_staged() {None} else {Some(entry.repo_path)@@ -4080,7 +4080,7 @@ impl Repository {} else {Some(entry.repo_path)}- } else if entry.status.staging().has_unstaged() {+ } else if entry.status.staging().is_fully_unstaged() {None} else {Some(entry.repo_path)