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

Re: nd/magic-pathspec exposes breakage in git-add--interactive on Windows

From
Alex Riesen <raa.lkml@gmail.com>
Date
Aug 29, 2013, 13:01 UTC
Message-ID
<CALxABCZaeS9eC50CxeqHLrKm530YXH1TRKtSUQEsd81L3Jxwyg@mail.gmail.com>
In-Reply-To
<521EF02A.2020300@viscovery.net>
On Thu, Aug 29, 2013 at 8:54 AM, Johannes Sixt <j.sixt@viscovery.net> wrote:
> It looks like on Windows we disallow arguments that contain double-quote,
> colon, or asterisk, and otherwise wrap arguments in double-quotes if they
> contain space. Then pass them through qx{}, which I can only guess what it
> does.

Well, the command interpreter of the platform implementation caused this, I believe. Quoting of the double quotes for it was too cumbersome for rarely used combination (windows, ActiveState Perl, and Git). I guess it is more popular now?

Previous: Duy NguyenNext: Nguyễn Thái Ngọc Duy
Message 3 of 10 in “nd/magic-pathspec exposes breakage in git-add--interactive on Windows”
  1. Johannes SixtAug 29, 2013
  2. Duy NguyenAug 29, 2013
  3. Alex RiesenAug 29, 2013
  4. Turn off pathspec magic on "{checkout,reset,add} -p" on native Windows buildsNguyễn Thái Ngọc Duy, Sep 1, 2013
  5. Johannes SixtSep 2, 2013
  6. Duy NguyenSep 2, 2013
  7. Johannes SixtSep 2, 2013
  8. Duy NguyenSep 2, 2013
  9. add--interactive: fix external command invocation on WindowsJohannes Sixt, Sep 4, 2013
  10. Duy NguyenSep 4, 2013

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.