]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'jk/match-pathname-fix' into next
authorJunio C Hamano <gitster@pobox.com>
Mon, 27 Oct 2025 03:09:50 +0000 (20:09 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 27 Oct 2025 03:09:50 +0000 (20:09 -0700)
The wildmatch code had a corner case bug that mistakenly makes
"foo**/bar" match with "foobar", which has been corrected.

* jk/match-pathname-fix:
  match_pathname(): give fnmatch one char of prefix context
  match_pathname(): reorder prefix-match check

1  2 
dir.c

diff --cc dir.c
Simple merge