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

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

From
Junio C Hamano <gitster@pobox.com>
Date
Apr 26, 2017, 04:02 UTC
Message-ID
<xmqqlgqnstod.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<CACBZZX7x0hSy5PTCo1Cf0Hp09jBhnSF0T=BseH68kwMRmqGJig@mail.gmail.com>
Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
Show 9 quoted lines
> Right now this is all dead code, but I wonder if instead we should be
> partially reverting commit 70a8fc999d ("stop using fnmatch (either
> native or compat)", 2014-02-15) by Duy to the extent of being able to
> extend t/helper/test-wildmatch.c to test fnmatch() as well.
>
> 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.

I am on the fence and can go either way. What you suggest is intellectually intriguing even though I am unsure of its practical value.

Previous: Ævar Arnfjörð BjarmasonNext: Duy Nguyen
Message 3 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.