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

Re: BUG: "git stash apply <arg>" broken, "git-stash apply <arg>" works

From
EREric Raible <raible@gmail.com>
Date
Jun 5, 2008, 11:17 UTC
Message-ID
<loom.20080605T110928-264@post.gmane.org>
In-Reply-To
<alpine.DEB.1.00.0806050112550.21190@racer>
Johannes Schindelin <Johannes.Schindelin <at> gmx.de> writes:
Show 8 quoted lines
> 
> This is most likely an issue with MSys, not Git.  As far as I know, 
> Steffen started to have a look at it, but I do not really know: I took my 
> retreat from msysGit.
> 
> Ciao,
> Dscho
> 

Not surprisingly this was exactly right, and I just posted a patch on http://code.google.com/p/msysgit/ which fixes it. It turns out that command lines passed to CreateProcess() which contain '{' need to be quoted (specifically quote_arg() needs to set 'force_quotes' to 1).

Thanks for the pointer.
- Eric
Previous: Johannes Schindelin
Message 3 of 3 in “BUG: "git stash apply <arg>" broken, "git-stash apply <arg>" works”
  1. Eric RaibleJun 4, 2008
  2. Johannes SchindelinJun 5, 2008
  3. Eric RaibleJun 5, 2008

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.