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

recent glob expansion breakage on Windows?

From
LELaszlo Ersek <lersek@redhat.com>
Date
Mar 8, 2018, 21:02 UTC
Message-ID
<e0ba9fb9-056e-4979-415b-f8eca47e2490@redhat.com>
Hi,

Jaben reports that git-send-email is suddenly failing to expand the "*.patch" glob for him, at the Windows CMD prompt:

--------- E:\...>git send-email --suppress-cc=author --suppress-cc=self --suppress-cc=cc --suppress-cc=sob --dry-run *.patch

No patch files specified! ---------

Whereas, moving the same patch files to another subdir, and then passing the subdir to git-send-email, works fine.

I seem to have found some $^O based perl code in the git tree that expands the glob manually (in place of the shell) on Windows -- however, that code looks ancient ^W very stable, and doesn't seem to explain the sudden breakage.

Is it possible that a separate perl update on Jaben's Windows box is causing this? Or does the breakage look consistent with a recent git change?

Has anyone else reported something similar recently?

Thanks (and sorry about the noise; this list might not be the best place to ask)! Laszlo

Next: Jonathan Nieder
Message 1 of 4 in “recent glob expansion breakage on Windows?”
  1. Laszlo ErsekMar 8, 2018
  2. Jonathan NiederMar 8, 2018
  3. Laszlo ErsekMar 9, 2018
  4. Carsey, JabenMar 13, 2018

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.