diff options
author | Kevin Ballard <kevin@sb.org> | 2008-08-13 15:34:34 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-08-13 17:11:03 -0700 |
commit | ea335b56d44a92b9b8be40b1465d7df65a4f736b (patch) | |
tree | 8fb43988263fce307dc046d5b4c1cb7d078d0a63 /diff-delta.c | |
parent | Do not talk about "diff" in rev-list documentation. (diff) | |
download | tgif-ea335b56d44a92b9b8be40b1465d7df65a4f736b.tar.xz |
Fix escaping of glob special characters in pathspecs
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>
Diffstat (limited to 'diff-delta.c')
0 files changed, 0 insertions, 0 deletions