diff-cache: handle modified new files correctly
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 27 Apr 2005 16:41:15 +0000 (09:41 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 27 Apr 2005 16:41:15 +0000 (09:41 -0700)
commitc9cddabe997e4342eb7acfc3f5922e85baddb300
treecf293e575b7182f35bc8597b133f8d01821dfab1
parent91f192a90902952f40cf24be004e8df3508b16c8
diff-cache: handle modified new files correctly

Junio pointed out that diff-cache didn't handle the case of a new file
that was different from its index entry correctly. It needs to check
the working copy the same way the modified file case did.
diff-cache.c