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 conflict state (was broken by merge conflict) (#25354)

Conrad Irwin6516249302a3
diff --git a/crates/worktree/src/worktree.rs b/crates/worktree/src/worktree.rs
index 402567cf8c6..de8b052bd16 100644
--- a/crates/worktree/src/worktree.rs
+++ b/crates/worktree/src/worktree.rs
@@ -5472,6 +5472,9 @@ impl BackgroundScanner {
},
&(),
);
+ if status.is_conflicted() {
+ repository.current_merge_conflicts.insert(repo_path.clone());
+ }
if let Some(path) = project_path {
changed_paths.push(path);