]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'jk/match-pathname-fix'
authorJunio C Hamano <gitster@pobox.com>
Mon, 3 Nov 2025 14:49:54 +0000 (06:49 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 3 Nov 2025 14:49:55 +0000 (06:49 -0800)
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