[PATCH] Diff-files fix with more tests.
authorJunio C Hamano <junkio@cox.net>
Fri, 20 May 2005 16:48:38 +0000 (09:48 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 20 May 2005 17:08:56 +0000 (10:08 -0700)
The same check we added earlier to update-cache to catch ENOTDIR
turns out to be missing from diff-files. This causes a
difference not being reported when you have DF/DF (a file in a
subdirectory) in the cache and DF is a file on the filesystem.

Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
No differences found