Файли
openidea/crates
ntbang0901 82fdd97588 fix(vcs): keep a skipped rebase step's message off the commit below it (#7746)
In an interactive rebase, a reword or squash message was applied by an exec git commit --amend line that always ran, so when the step before it made no commit (Skip, a conflict resolved to nothing, an empty pick) it rewrote the commit below, including a published one. The line now compares HEAD with the HEAD recorded just before the step and does nothing when no commit was made; for a squash it also checks that the commit it goes into was made, since Git melds the squash into the commit below when that one was skipped.

Co-authored-by: ntbang0901 <[email protected]>
2026-12-03 18:02:38 +08:00
..