diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2017-06-15 21:10:41 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-06-15 15:02:10 -0700 |
commit | d8604c747b2c9c2b61f1257577c2939e5b07c664 (patch) | |
tree | 50bd8f7689e131556cda91cc92975c53ddd3bf67 /builtin/mktree.c | |
parent | wildmatch test: remove redundant duplicate test (diff) | |
download | tgif-d8604c747b2c9c2b61f1257577c2939e5b07c664.tar.xz |
wildmatch test: cover a blind spot in "/" matching
A negated character class that does not include '/', e.g. [^a-z]:
- Should match '/' when doing "wildmatch"
- Should not match '/' when doing "pathmatch"
Add two tests to cover these cases.
Helped-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/mktree.c')
0 files changed, 0 insertions, 0 deletions