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
2026-02-04 22:08:26 -05:00
committed by GitHub
parent 49c777779a
commit 0dd09b6097
3 changed files with 52 additions and 35 deletions
+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)]