[PATCH v2 0/4] nd/pathspec-wildcard
- From
Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
- Date
- Nov 24, 2012, 04:33 UTC
- Message-ID
- <1353731631-20593-1-git-send-email-pclouds@gmail.com>
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
possiblebuiltin/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(-)
-- 1.8.0.rc2.23.g1fb49df