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

Re: [PATCH] stash: add 'rename' subcommand

From
EEmin <eminozata@proton.me>
Date
Jul 27, 2026, 09:18 UTC
Message-ID
<eMj51mk8rqcQ7OawqFMB15gzO_MX5ScmstepOBExhu0fqazg_6uNi-2Uw1ONg-JULoEu3MzY3kq2fUkQVK_NR36nF1bMVUeg6UHEnJ0BuPE=@proton.me>
In-Reply-To
<xmqqtsplouii.fsf@gitster.g>
Junio C Hamano <gitster@pobox.com> writes:
> OK, so editing the log message for each stash entry is already a use
> case.  In that case, I no longer object to the feature in principle.

Thanks, and thanks to brian and erik for describing the use case better than I did in the original message. Mine is the same: entries pile up with the default "WIP on <branch>" message, and the ones worth keeping are the hardest to find again later.

I will send a v2 shortly that addresses Patrick's review. It renames the subcommand to 'reword' and rewrites the reflog in a single transaction.

Thanks.
Previous: Junio C HamanoNext: Emin Özata via GitGitGadget
Message 8 of 12 in “stash: add 'rename' subcommand”
  1. stash: add 'rename' subcommandEmin Özata via GitGitGadget, Jul 16, 2026
  2. Patrick SteinhardtJul 16, 2026
  3. Junio C HamanoJul 16, 2026
  4. brian m. carlsonJul 16, 2026
  5. Junio C HamanoJul 17, 2026
  6. erik88Jul 26, 2026
  7. Junio C HamanoJul 27, 2026
  8. EminJul 27, 2026
  9. stash: add 'reword' subcommandEmin Özata via GitGitGadget, Jul 27, 2026
  10. Junio C HamanoJul 27, 2026
  11. Junio C HamanoJul 28, 2026
  12. Patrick SteinhardtAug 11, 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.