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

Re: [PATCH] test: remove unused parameter from the wildmatch test

From
Duy Nguyen <pclouds@gmail.com>
Date
Apr 26, 2017, 09:00 UTC
Message-ID
<CACsJy8DDDG0YKsXG8JWhowJ7TOH7Psw6v8B3AHA-dTpCHs+vYA@mail.gmail.com>
In-Reply-To
<CACBZZX7x0hSy5PTCo1Cf0Hp09jBhnSF0T=BseH68kwMRmqGJig@mail.gmail.com>

On Tue, Apr 25, 2017 at 4:51 PM, Ævar Arnfjörð Bjarmason <avarab@gmail.com> wrote:

> We wouldn't be using fnmatch(), but I think it's a probably a good
> idea for the tests to support a mode where we have to declare
> explicitly whether something should also match under fnmatch or not,
> so we document the differences.

It was that way for a while (when wildmatch code was still "young") then we removed fnmatch tests because system fnmatch was inconsistent in some corner cases and because wildmatch code did not change much anymore.

If we start turning it upside down, yes some sort of checks like that may be a good idea (or at least until new code stablizes again).

-- 
Duy
Previous: Junio C Hamano
Message 4 of 4 in “test: remove unused parameter from the wildmatch test”
  1. test: remove unused parameter from the wildmatch testÆvar Arnfjörð Bjarmason, Apr 25, 2017
  2. Ævar Arnfjörð BjarmasonApr 25, 2017
  3. Junio C HamanoApr 26, 2017
  4. Duy NguyenApr 26, 2017

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.