[PATCH v5 00/12] nd/wildmatch
- From
Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
- Date
- Oct 14, 2012, 02:34 UTC
- Message-ID
- <1350182110-25936-1-git-send-email-pclouds@gmail.com>
This version splits fnmatch/wildmatch tests separately in t3070 and disables a lot more fnmatch tests. It also fixes the "cd .." in t0003 test and a comment in front of dowild(). No functional changes.
Nguyễn Thái Ngọc Duy (12): ctype: make sane_ctype[] const array ctype: support iscntrl, ispunct, isxdigit and isprint Import wildmatch from rsync wildmatch: remove unnecessary functions Integrate wildmatch to git t3070: disable unreliable fnmatch tests wildmatch: make wildmatch's return value compatible with fnmatch wildmatch: remove static variable force_lower_case wildmatch: fix case-insensitive matching wildmatch: adjust "**" behavior wildmatch: make /**/ match zero or more directories Support "**" wildcard in .gitignore and .gitattributes
.gitignore | 1 + Documentation/gitignore.txt | 19 +++ Makefile | 3 + attr.c | 4 +- ctype.c | 20 +++- dir.c | 4 +- git-compat-util.h | 15 ++- t/t0003-attributes.sh | 37 ++++++ t/t3001-ls-files-others-exclude.sh | 19 +++ t/t3070-wildmatch.sh | 195 ++++++++++++++++++++++++++++++ test-wildmatch.c | 14 +++ wildmatch.c | 239 +++++++++++++++++++++++++++++++++++++ wildmatch.h | 9 ++ 13 files changed, 575 insertions(+), 4 deletions(-) create mode 100755 t/t3070-wildmatch.sh create mode 100644 test-wildmatch.c create mode 100644 wildmatch.c create mode 100644 wildmatch.h
-- 1.8.0.rc2.11.g2b79d01