mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-10-06 05:57:38 -04:00
Wire the remaining diff panels — local commits, sub-commits, commit files, stash, and reflog — into the focused main view's raw-diff fallback, the same way the files panel already is: each computes DiffMainViewShouldRenderRaw and renders its diff raw (no pager) when focused under a pager whose output we can't resolve, so its selection stays toggleable into a custom patch (or, for reflog, navigable and copyable). The commit-diff panels build their diff through the diff helper, which can't reach the staging helper, so the panel computes renderRaw and passes it in. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>