mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-10-06 05:57:38 -04:00
Discarding lines from a commit via the focused main view installed its own revealSelectionAfterPrimaryAction before the rebase. That rebase rewrites the commit, so the selection-preserve net now re-establishes the selection as the diff re-renders — with the same anchor (the selection's first line), making this install redundant. Files-discard keeps its own reveal: its diff command is stable, so the net never fires there, and it has staging's focus-follow to the secondary pane besides. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>