Skip to content

nd/wildmatch

Nguyễn Thái Ngọc Duy git 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest12 patches 13 repliesIn review
  2. v412 patches 15 repliesSuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12ctype: make sane_ctype[] const arrayctype.c git-compat-util.h+2 -20 replies
2/12ctype: support iscntrl, ispunct, isxdigit and isprintctype.c git-compat-util.h+31 -019 replies
3/12Import wildmatch from rsynct/t3070/wildtest.txt wildmatch.c wildmatch.h+539 -00 replies
4/12wildmatch: remove unnecessary functionswildmatch.c wildmatch.h+10 -1562 replies
5/12Integrate wildmatch to git.gitignore Makefile t/t3070-wildmatch.sh +3 more+210 -1662 replies
6/12t3070: disable unreliable fnmatch testst/t3070-wildmatch.sh+43 -430 replies
7/12wildmatch: make wildmatch's return value compatible with fnmatchtest-wildmatch.c wildmatch.c+14 -111 reply
8/12wildmatch: remove static variable force_lower_casetest-wildmatch.c wildmatch.c wildmatch.h+8 -200 replies
9/12wildmatch: fix case-insensitive matchingwildmatch.c+2 -00 replies
10/12wildmatch: adjust "**" behaviort/t3070-wildmatch.sh wildmatch.c wildmatch.h+16 -80 replies
11/12wildmatch: make /**/ match zero or more directoriest/t3070-wildmatch.sh wildmatch.c+24 -10 replies
12/12Support "**" wildcard in .gitignore and .gitattributesDocumentation/gitignore.txt attr.c dir.c +2 more+81 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.

Read the v5 thread

Cover letter [PATCH v5 00/12] nd/wildmatch

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
Signature · 1 line
1.8.0.rc2.11.g2b79d01