Subject: [PATCH 0/4] Some pathspec wildcard optimization

From: Nguyễn Thái Ngọc Duy <[email-masked]>
Date: Sun, 18 Nov 2012 16:13:05 +0700

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