Skip to content

nd/pathspec-wildcard

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

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 0 repliesNew
  2. v14 patches 6 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4pathspec: save the non-wildcard length partbuiltin/ls-files.c builtin/ls-tree.c cache.h +2 more+8 -80 replies
2/4pathspec: do exact comparison on the leading non-wildcard partdir.c dir.h tree-walk.c+29 -30 replies
3/4pathspec: apply "*.c" optimization from excludecache.h dir.c dir.h +1 more+24 -40 replies
4/4tree_entry_interesting: do basedir compare on wildcard patterns when possibletree-walk.c+62 -10 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/4] nd/pathspec-wildcard

The only change (apart from what Junio's made after I sent the series) is rename GF_* to GFNM_* and PSF_* to PATHSPEC_* with a brief explanation for each flag.

.gitignore code does not have "foo*oob" bug that the original series has.

Nguyễn Thái Ngọc Duy (4):
pathspec: save the non-wildcard length part
pathspec: do exact comparison on the leading non-wildcard part
pathspec: apply "*.c" optimization from exclude
tree_entry_interesting: do basedir compare on wildcard patterns when
possible

 builtin/ls-files.c |  2 +-
 builtin/ls-tree.c  |  2 +-
 cache.h            |  5 +++-
 dir.c              | 36 +++++++++++++++++++++++---
 dir.h              |  9 +++++++
 tree-walk.c        | 75 ++++++++++++++++++++++++++++++++++++++++++++++++++----
 6 files changed, 118 insertions(+), 11 deletions(-)
Signature · 1 line
1.8.0.rc2.23.g1fb49df