diff-files: careful when inspecting work tree items
authorJunio C Hamano <gitster@pobox.com>
Mon, 31 Mar 2008 00:30:08 +0000 (17:30 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 31 Mar 2008 05:22:09 +0000 (22:22 -0700)
commitf58dbf23c33e0e79622f4344b48ab5bc9bc360cc
tree740a6dcd7e940f3f43e921736677b27b17ef88de
parent948dd346fd6748f8c2c0ae488759cbbd05a09320
diff-files: careful when inspecting work tree items

This fixes the same breakage in diff-files.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff-lib.c
t/t2201-add-update-typechange.sh