git: Render hunk gutter highlights for the side-by-side diff (#48433)

Relanding #48321 

Release Notes:

- N/A
This commit is contained in:
Cole Miller authored and GitHub committed 2026-02-05 03:08:26 +00:00
1 parent b63e38b204
commit d7a5e3e267
3 files changed
+52 -35

No files matched your search

+4
View File
@@ -6807,6 +6807,10 @@ impl MultiBufferSnapshot {
self.diffs.get(&buffer_id).map(|diff| &diff.diff)
}
pub fn all_diff_hunks_expanded(&self) -> bool {
self.all_diff_hunks_expanded
}
/// Visually annotates a position or range with the `Debug` representation of a value. The
/// callsite of this function is used as a key - previous annotations will be removed.
#[cfg(debug_assertions)]