summaryrefslogtreecommitdiff
path: root/po
diff options
context:
space:
mode:
authorLibravatar Derrick Stolee <dstolee@microsoft.com>2020-01-24 21:19:37 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-01-24 13:26:54 -0800
commit9e6d3e64175713bc0007f3012ea288f4dfc0a399 (patch)
tree1117224847f0b0c6003eced2c04493a49bb5ca2c /po
parentsparse-checkout: cone mode does not recognize "**" (diff)
downloadtgif-9e6d3e64175713bc0007f3012ea288f4dfc0a399.tar.xz
sparse-checkout: detect short patterns
In cone mode, the shortest pattern the sparse-checkout command will write into the sparse-checkout file is "/*". This is handled carefully in add_pattern_to_hashsets(), so warn if any other pattern is this short. This will assist future pattern checks by allowing us to assume there are at least three characters in the pattern. Signed-off-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'po')
0 files changed, 0 insertions, 0 deletions