Merge branch 'nd/pathspec-wildcard'
commit990a4fea96983d54c0dcc96352e4c86404eceb77
authorJunio C Hamano <gitster@pobox.com>
Sun, 6 Jan 2013 07:40:15 +0000 (5 23:40 -0800)
committerJunio C Hamano <gitster@pobox.com>
Sun, 6 Jan 2013 07:40:15 +0000 (5 23:40 -0800)
treed6acc2d8d42d9b75101bbfe7904955356913b7dc
parentd65d991b6543d8dcc8d10dd99a92a63693bcd54e
parentc904cd89e4328c0b5041b6ee0bb2df32459a33a2
Merge branch 'nd/pathspec-wildcard'

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
cache.h