Thread (7 messages) 7 messages, 3 authors, 2025-10-26
STALE239d

[PATCH v2 0/2] fix "foo**/bar" matching "foobar"

From: Jeff King <hidden>
Date: 2025-10-26 15:40:38

On Sun, Oct 26, 2025 at 11:26:14AM -0400, Jeff King wrote:
Me too. I wrote it a few different ways before ending up with the "==
1", just because it made the diff smaller. But let me do it as two
steps, which I think will make it all more clear.
Here it is. Maybe excessive to split it up, but each patch is quite nice
to read now. :)

  [1/2]: match_pathname(): reorder prefix-match check
  [2/2]: match_pathname(): give fnmatch one char of prefix context

 dir.c              | 18 ++++++++++++------
 t/t0008-ignores.sh | 11 +++++++++++
 2 files changed, 23 insertions(+), 6 deletions(-)

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help