mirror of
https://github.com/git/git.git
synced 2024-11-24 10:26:17 +08:00
file_exists(): dangling symlinks do exist
This function is used to see if a path given by the user does exist on the filesystem. A symbolic link that does not point anywhere does exist but running stat() on it would yield an error, and it incorrectly said it does not exist. Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
637efc3456
commit
a50f9fc5fe
Loading…
Reference in New Issue
Block a user