diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2014-02-15 09:01:48 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-02-20 14:16:11 -0800 |
commit | 70a8fc999d9f0afbc793b21bbb911ecde4e24367 (patch) | |
tree | 0c5e0af16b03fdcdc71467ca6e495921485f3478 /t/t3070-wildmatch.sh | |
parent | ff8802283f78e02ccd5d450ccf0ac434bc6258c7 (diff) | |
download | git-70a8fc999d9f0afbc793b21bbb911ecde4e24367.tar.gz |
stop using fnmatch (either native or compat)
Since v1.8.4 (about six months ago) wildmatch is used as default
replacement for fnmatch. We have seen only one fix since so wildmatch
probably has done a good job as fnmatch replacement. This concludes
the fnmatch->wildmatch transition by no longer relying on fnmatch.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3070-wildmatch.sh')
-rwxr-xr-x | t/t3070-wildmatch.sh | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/t/t3070-wildmatch.sh b/t/t3070-wildmatch.sh index 38446a0e87..ef509df351 100755 --- a/t/t3070-wildmatch.sh +++ b/t/t3070-wildmatch.sh @@ -14,19 +14,6 @@ match() { ! test-wildmatch wildmatch '$3' '$4' " fi - if [ $2 = 1 ]; then - test_expect_success "fnmatch: match '$3' '$4'" " - test-wildmatch fnmatch '$3' '$4' - " - elif [ $2 = 0 ]; then - test_expect_success "fnmatch: no match '$3' '$4'" " - ! test-wildmatch fnmatch '$3' '$4' - " -# else -# test_expect_success BROKEN_FNMATCH "fnmatch: '$3' '$4'" " -# ! test-wildmatch fnmatch '$3' '$4' -# " - fi } imatch() { |