git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: What's cooking in git.git (Jul 2026, #12)

From
Harald Nordgren <haraldnordgren@gmail.com>
Date
Jul 30, 2026, 06:11 UTC
Message-ID
<CAHwyqnXYi76rMOWYEgJhoh2rXaTgLbze7mKd+WGoC9BbDFHXHA@mail.gmail.com>
In-Reply-To
<f5f7af53-df3e-4902-b350-8fcf8ccb02ad@gmail.com>
Show 9 quoted lines
> 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
Previous: Junio C HamanoNext: Matt Hunter
Message 10 of 17 in “What's cooking in git.git (Jul 2026, #12)”
  1. Junio C HamanoJul 27, 2026
  2. Phillip WoodJul 29, 2026
  3. Junio C HamanoJul 29, 2026
  4. Phillip WoodJul 29, 2026
  5. Junio C HamanoJul 29, 2026
  6. Phillip WoodAug 5, 2026
  7. Junio C HamanoAug 5, 2026
  8. Matt HunterJul 31, 2026
  9. Junio C HamanoJul 31, 2026
  10. Harald NordgrenJul 30, 2026
  11. Matt HunterJul 31, 2026
  12. Phillip WoodAug 3, 2026
  13. Junio C HamanoAug 3, 2026
  14. Phillip WoodAug 4, 2026
  15. Phillip WoodAug 3, 2026
  16. Phillip WoodJul 29, 2026
  17. Junio C HamanoJul 29, 2026

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.