]> git.ipfire.org Git - thirdparty/git.git/commit
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)
commit52364670907b84f91bcd42035ddd30ceac0f2771
tree751b986b35c369f8f65dc0147e679b5f201a1d0a
parentecf2f52fe587a2a61da72c71fe9b38a0f9591029
parent1940a02dc1122d15706a7051ee47e73f329fb4f7
Merge branch 'jk/match-pathname-fix'

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
dir.c