From: Michael Haggerty Date: Thu, 15 Sep 2011 21:10:31 +0000 (+0200) Subject: resolve_ref(): explicitly fail if a symlink is not readable X-Git-Tag: v1.7.8-rc0~107^2~12 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/7bb2bf8e5cc47f7731c9c012ecc943b14f99ee5a?hp=7bb2bf8e5cc47f7731c9c012ecc943b14f99ee5a resolve_ref(): explicitly fail if a symlink is not readable Previously the failure came later, after a few steps in which the length was treated like the actual length of a string. Even though the old code gave the same answers, it was somewhat misleading. Signed-off-by: Michael Haggerty Signed-off-by: Junio C Hamano ---