Browse Source
match_one implements an optimized pathspec match where it only uses fnmatch if it detects glob special characters in the pattern. Unfortunately it didn't treat \ as a special character, so attempts to escape a glob special character would fail even though fnmatch() supports it. Signed-off-by: Kevin Ballard <kevin@sb.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>maint
Kevin Ballard
17 years ago
committed by
Junio C Hamano
2 changed files with 9 additions and 1 deletions
Loading…
Reference in new issue