Файли
openidea/src
LU XIANGRUIтаwildcatDownstairs 8fefbc1c82 fix(vcs): allow editing commit message of merge commits (#8037)
Edit Commit Message refused any range with a merge commit because it validated the range like an interactive rebase, and the backend reword kept only one parent. Rewording never changes trees, so it now keeps every parent of the commit and rewrites its ancestry-path descendants with their parents remapped, which preserves the history graph; the index and working tree stay untouched. Works for a merge commit at HEAD (right after a merge) and earlier on the current branch; commits outside the current branch and protected history are still refused.

Closes #7991

Co-authored-by: wildcatDownstairs <[email protected]>
2026-12-04 22:05:40 +08:00
..