Make git-diff-cache skip any comparisons which don't match pathspec
commitfdee7d07ba6c79b3e5125e96adbe1d9c3e75ce1d
authorLinus Torvalds <torvalds@g5.osdl.org>
Thu, 14 Jul 2005 23:43:01 +0000 (14 16:43 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 14 Jul 2005 23:43:01 +0000 (14 16:43 -0700)
treee90f4a9069556f5442e999f0bff5f8c570ab4967
parenta74ba54bd15d63bfb962b584fa96937b06cdfc87
Make git-diff-cache skip any comparisons which don't match pathspec

This brings all the same pathspec optimizations that git-diff-tree does
to git-diff-cache.
diff-cache.c