mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-10-06 05:57:38 -04:00
Three cases where landing on the change that took the place of the one acted on is not the same as landing on the next line, or on the same line number: staging an inserted line moves every later line of the file, so the hunk below it is somewhere else afterwards; consecutive deletions all sit at the same place in the new file, so nothing but their order tells them apart; and unstaging half of a modification carries on in the pane the staged side has, which is where the work was already. Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>