summaryrefslogtreecommitdiff
path: root/t/t4034/objc/post
diff options
context:
space:
mode:
authorLibravatar Derrick Stolee <dstolee@microsoft.com>2020-01-31 20:16:13 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-01-31 13:05:29 -0800
commite53ffe2704d7e10690f4382e46c1411a482531f1 (patch)
tree7f3023dee345428454e54871094f1d9d51def9e9 /t/t4034/objc/post
parentsparse-checkout: use C-style quotes in 'list' subcommand (diff)
downloadtgif-e53ffe2704d7e10690f4382e46c1411a482531f1.tar.xz
sparse-checkout: escape all glob characters on write
The sparse-checkout patterns allow special globs according to fnmatch(3). When writing cone-mode patterns for paths containing these characters, they must be escaped. Use is_glob_special() to check which characters must be escaped this way, and add a path to the tests that contains all glob characters at once. Note that ']' is not special, since the initial bracket '[' is escaped. Reported-by: Jeff King <peff@peff.net> Signed-off-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4034/objc/post')
0 files changed, 0 insertions, 0 deletions