Re: What's cooking in git.git (Jul 2026, #12)
Harald Nordgren <[email protected]> Thu, 30 Jul 2026 08:11:45 +0200
| Newsgroups | org.kernel.vger.git |
|---|---|
| Message-ID | <CAHwyqnXYi76rMOWYEgJhoh2rXaTgLbze7mKd+WGoC9BbDFHXHA@mail.gmail.com> |
> Without "--reedit-message", it will happily discard "amend!" and > "squash!" commit messages even though the user creating them is a strong > signal that they intended to use them to reword the commit. > "--reedit-message" is a rather verbose option name which does not make > sense to me as we're creating a new commit with a new message so we're > not re-editing anything. I've commented elsewhere that I strongly > dislike reusing the rebase squash message template for this command > where we can squash fixups into multiple different commits at the same > time. Should we always do "--reedit-message" then, i.e. remove the option and have it as the default? Do we need a "--no-edit" switch then instead? Maybe not, user will then always have the editor opened and they can save and quit if they don't care. I'm not sure about changing the template. Harald