Fix 'git diff --no-index' with a non-existing symlink target
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Thu, 29 Jan 2009 16:30:51 +0000 (17:30 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sat, 31 Jan 2009 05:11:24 +0000 (21:11 -0800)
When trying to find out mode changes, we should not access the symlink
targets using stat(); instead we use lstat() so that the diff does
not fail trying to find a non-existing symlink target.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found