Code

[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)
commit411746940f02f6fb90c4b6b97c6f07cee599c2e1
tree665a48af9e192ed84d2707c95d4c0d9c45eb45ad
parent63713028cd2c747b225c110193f63caff0f58aeb
[PATCH] Diff-files fix with more tests.

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>
diff-files.c
t/t4002-diff-basic.sh