From: Johannes Schindelin Date: Tue, 26 Jan 2016 14:34:52 +0000 (+0100) Subject: mingw: let lstat() fail with errno == ENOTDIR when appropriate X-Git-Tag: v2.8.0-rc0~54^2~14 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/4b0abd5c695c87bf600e57b6a5c7d6844707d34c?ds=sidebyside;hp=4b0abd5c695c87bf600e57b6a5c7d6844707d34c 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 Signed-off-by: Junio C Hamano ---