diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2016-01-26 15:34:52 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-01-26 13:42:59 -0800 |
commit | 4b0abd5c695c87bf600e57b6a5c7d6844707d34c (patch) | |
tree | fda17d83791e71a6b5b5b7d25d4676b58bd1c6b8 /compat/stat.c | |
parent | mingw: try to delete target directory before renaming (diff) | |
download | tgif-4b0abd5c695c87bf600e57b6a5c7d6844707d34c.tar.xz |
mingw: let lstat() fail with errno == ENOTDIR when appropriate
POSIX semantics requires lstat() to fail with ENOTDIR when "[a]
component of the path prefix names an existing file that is neither a
directory nor a symbolic link to a directory".
See http://pubs.opengroup.org/onlinepubs/9699919799/functions/lstat.html
This behavior is expected by t1404-update-ref-df-conflicts now.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/stat.c')
0 files changed, 0 insertions, 0 deletions