mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-11-21 04:46:29 +03:00
Outside of a rebase, we move commits by a number of rows, skipping the update-ref todos that we don't show. This can't move a commit past the update-ref todos only. We will need that for moving a commit to the end of the branch below it in a stack. It also moves each commit separately, so the update-ref todos between the moved commits stay behind. MoveCommitsTo names the commit that the moved commits are to sit on, and which of the branches that point at that commit are to point at the moved commits instead. The update-ref todos between the moved commits move along with them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>