Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
buffer_diff: Fix git gutter incorrectly showing for ignored files (#43776)
Jakub Konkaf326854495c2
diff --git a/crates/buffer_diff/src/buffer_diff.rs b/crates/buffer_diff/src/buffer_diff.rsindex 38b9b8e4baa..6dea38fe681 100644--- a/crates/buffer_diff/src/buffer_diff.rs+++ b/crates/buffer_diff/src/buffer_diff.rs@@ -1235,7 +1235,7 @@ impl DiffHunk {pub fn is_created_file(&self) -> bool {self.diff_base_byte_range == (0..0)&& self.buffer_range.start.is_min()- && self.buffer_range.end.is_min()+ && self.buffer_range.end.is_max()}pub fn status(&self) -> DiffHunkStatus {