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

Re: git stash save <message>

From
Johannes Sixt <j.sixt@viscovery.net>
Date
Mar 5, 2010, 12:55 UTC
Message-ID
<4B90FF40.4020607@viscovery.net>
In-Reply-To
<4B90F636.2030300@syntevo.com>
Thomas Singer schrieb:
Show 5 quoted lines
> Where can I find information about what content in <message> is (not)
> allowed? We've got a bug-report where a SmartGit user has simply entered a
> minus and Git refused to work. Of course, entering just a minus is quite
> useless, but we have to be able to reliable detect allowed and disallowed
> messages.

Does SmartGit call 'git stash save' behind the scenes with the user-supplied message? Then it should run

  git stash save -- "$msg"
and you don't need to forbid anything.
-- Hannes
Previous: Thomas SingerNext: Thomas Singer
Message 2 of 7 in “git stash save <message>”
  1. Thomas SingerMar 5, 2010
  2. Johannes SixtMar 5, 2010
  3. Thomas SingerMar 5, 2010
  4. stash: suggest the correct command line for unknown options.Matthieu Moy, Mar 5, 2010
  5. Jeff KingMar 5, 2010
  6. stash: suggest the correct command line for unknown options.Matthieu Moy, Mar 5, 2010
  7. Junio C HamanoMar 7, 2010

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.