From: Nguyễn Thái Ngọc Duy Date: Sun, 18 Nov 2012 09:13:05 GMT Subject: [PATCH 0/4] Some pathspec wildcard optimization Message-ID: <1353229989-13075-1-git-send-email-pclouds@gmail.com> This ports the "*.c" optimization from .gitignore to pathspec code. 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 | 35 ++++++++++++++++++++++--- dir.h | 9 +++++++ tree-walk.c | 75 ++++++++++++++++++++++++++++++++++++++++++++++++++---- 6 files changed, 117 insertions(+), 11 deletions(-) -- 1.8.0.rc2.23.g1fb49df