Merge branch 'nd/pathspec-wildcard'
authorJunio C Hamano <gitster@pobox.com>
Sun, 6 Jan 2013 07:40:15 +0000 (23:40 -0800)
committerJunio C Hamano <gitster@pobox.com>
Sun, 6 Jan 2013 07:40:15 +0000 (23:40 -0800)
Optimize matching paths with common forms of pathspecs that contain
wildcard characters.

* nd/pathspec-wildcard:
  tree_entry_interesting: do basedir compare on wildcard patterns when possible
  pathspec: apply "*.c" optimization from exclude
  pathspec: do exact comparison on the leading non-wildcard part
  pathspec: save the non-wildcard length part

1  2 
cache.h

diff --cc cache.h
Simple merge