summaryrefslogtreecommitdiff
path: root/t/t5540-http-push-webdav.sh
diff options
context:
space:
mode:
authorLibravatar Derrick Stolee <dstolee@microsoft.com>2020-01-31 20:16:09 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-01-31 13:05:29 -0800
commit4f52c2ce6c578896964e960f6017510f0efd3f46 (patch)
tree6e35b5a1de6c7d5a73319f2fe96cb0f422155027 /t/t5540-http-push-webdav.sh
parentsparse-checkout: warn on globs in cone patterns (diff)
downloadtgif-4f52c2ce6c578896964e960f6017510f0efd3f46.tar.xz
sparse-checkout: properly match escaped characters
In cone mode, the sparse-checkout feature uses hashset containment queries to match paths. Make this algorithm respect escaped asterisk (*) and backslash (\) characters. Create dup_and_filter_pattern() method to convert a pattern by removing escape characters and dropping an optional "/*" at the end. This method is available in dir.h as we will use it in builtin/sparse-checkout.c in a later change. Signed-off-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5540-http-push-webdav.sh')
0 files changed, 0 insertions, 0 deletions