If a range of selected commits spans the boundary between two branches
of a stack, moving it outside of a rebase leaves the update-ref todo
between them behind. This is because each commit is moved past the next
commit separately. As a result, the lower branch loses its commits to
the one above it.
Move the commits with MoveCommitsTo instead. It moves the update-ref
todos between the commits along with them. It also needs to know which
branches point at the commit that the moved commits go on top of. These
are the branches that the commits list marks, except for those that git
doesn't update in a rebase.
Otherwise, moving commits up or down and dropping dragged commits work
as before.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>