Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix merge conflicts jumping (#28508)
Cole Miller8ab25e2bac2f
diff --git a/crates/project/src/git_store.rs b/crates/project/src/git_store.rsindex 24fc1f694ca..53e2f1a10a4 100644--- a/crates/project/src/git_store.rs+++ b/crates/project/src/git_store.rs@@ -2630,9 +2630,7 @@ impl RepositorySnapshot {}pub fn has_conflict(&self, repo_path: &RepoPath) -> bool {- self.statuses_by_path- .get(&PathKey(repo_path.0.clone()), &())- .map_or(false, |entry| entry.status.is_conflicted())+ self.merge_conflicts.contains(repo_path)}/// This is the name that will be displayed in the repository selector for this repository.