author | Junio C Hamano <gitster@pobox.com> | |
Sun, 18 Nov 2007 09:58:16 +0000 (01:58 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 23 Nov 2007 01:05:04 +0000 (17:05 -0800) | ||
commit | a50f9fc5feb0a8b8afe51e75ae7c7a87446113e3 | |
tree | 390b297122204d561e35b2620c0e6916c20328ae | tree | snapshot |
parent | 637efc3456576d548ed5b42e70deffca42e7428e | commit | diff |
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 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>
dir.c | diff | blob | history |