Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
- Loading branch information