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

Re: Bug: "git stash create" ignores "message" argument

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 8, 2025, 17:13 UTC
Message-ID
<xmqqv7o2vc64.fsf@gitster.g>
In-Reply-To
<20250706032512.GB3041790@coredump.intra.peff.net>
Jeff King <peff@peff.net> writes:
>   2. Possibly "stash store" could pull the default message from the
>      commit, rather than using the generic one.

This might be a good compromise. Even we discourage the use of "store" and "create" combo to interactive users, we do care about ergonomics for script writers.

Those who use "create" to write a detailed log message (which may later be reused for a real commit that is created out of the stashed changes) would end up with a huge and unpleasant stash entries if they use "store" without any message, which may be a negative experinece for them, though.

Previous: Jeff KingNext: Jeff King
Message 3 of 8 in “Bug: "git stash create" ignores "message" argument”
  1. José Miguel Armijo FidalgoJul 6, 2025
  2. Jeff KingJul 6, 2025
  3. Junio C HamanoJul 8, 2025
  4. Jeff KingJul 8, 2025
  5. José Miguel Armijo FidalgoJul 9, 2025
  6. Darren RambaudJul 6, 2025
  7. José Miguel Armijo FidalgoJul 8, 2025
  8. Junio C HamanoJul 8, 2025

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.