git: Side-by-side diff UI (#47349)

This PR implements a UI for the side-by-side diff, using blocks to align
the two sides and adding a coherent `SplitEditorElement`.

Release Notes:

- N/A

---------

Co-authored-by: cameron <cameron.studdstreet@gmail.com>
Co-authored-by: Anthony Eid <hello@anthonyeid.me>
Co-authored-by: Zed Zippy <234243425+zed-zippy[bot]@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2026-01-22 02:31:14 -05:00
1 parent 900419fde3
commit 6b8eb8fe07
30 files changed
+7882 -888

No files matched your search

+1 -1
View File
@@ -884,7 +884,7 @@ async fn build_buffer_diff(
diff.update_diff(
buffer.text.clone(),
old_text.map(|old_text| Arc::from(old_text.as_str())),
true,
Some(true),
language.clone(),
cx,
)