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

Re: [PATCH] Tweak t3102-ls-tree-wildcards to run on Windows

From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
Date
May 12, 2011, 12:19 UTC
Message-ID
<BANLkTino-zmbRqNat-TO8YcQHCrMr4A06A@mail.gmail.com>
In-Reply-To
<4DCB9C42.5070806@viscovery.net>
2011/5/12 Johannes Sixt <j.sixt@viscovery.net>:
Show 9 quoted lines
> From: Johannes Sixt <j6t@kdbg.org>
>
> The test case fails on Windows, because "a*" is an invalid file name.
> Therefore, use "a[a]" instead.
>
> Signed-off-by: Johannes Sixt <j6t@kdbg.org>
> ---
>  Regarding the change from * to [], I do not know whether the result
>  still tests the same thing. Please advise!

The result is correct. Whatever pattern you throw at ls-tree should be interpreted literally, no magic at all.

Acked-by: me.
-- 
Duy
Previous: Johannes Sixt
Message 2 of 2 in “Tweak t3102-ls-tree-wildcards to run on Windows”
  1. Tweak t3102-ls-tree-wildcards to run on WindowsJohannes Sixt, May 12, 2011
  2. Nguyen Thai Ngoc DuyMay 12, 2011

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.