diff-tree: don't match non-directories as partial pathnames
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 18 May 2005 21:17:22 +0000 (14:17 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 18 May 2005 21:17:22 +0000 (14:17 -0700)
commit850e82d889f374465dc7aa6cb4af3098c7e02f1f
treebf911c3717bf756f25806f7ec1f884e13fcc61e6
parented1a368ba137898bf012dbb8cda0a4cac89d64da
diff-tree: don't match non-directories as partial pathnames

This normally doesn't matter, but if you have a filename that is
sometimes a directory and sometimes a regular file (or symlink),
we don't want the regular file case to trigger a "partial match".
diff-tree.c