author | Mark Levedahl <mlevedahl@gmail.com> | |
Mon, 13 Oct 2008 04:33:31 +0000 (00:33 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 13 Oct 2008 20:43:24 +0000 (13:43 -0700) | ||
commit | 7faee6b8de836904227ee98dc3d2c4c75b0ef3a1 | |
tree | a5522684e7f80e160b58b72f20861097839098bd | tree | snapshot |
parent | 5c283eb13c94be6ca974aa722159dc9838d10d97 | commit | diff |
compat/cygwin.c - Use cygwin's stat if core.filemode == true
Cygwin's POSIX emulation allows use of core.filemode true, unlike native
Window's implementation of stat / lstat, and Cygwin/git users who have
configured core.filemode true in various repositories will be very
unpleasantly surprised to find that git is no longer honoring that option.
So, this patch forces use of Cygwin's stat functions if core.filemode is
set true, regardless of any other considerations.
Signed-off-by: Mark Levedahl <mlevedahl@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Cygwin's POSIX emulation allows use of core.filemode true, unlike native
Window's implementation of stat / lstat, and Cygwin/git users who have
configured core.filemode true in various repositories will be very
unpleasantly surprised to find that git is no longer honoring that option.
So, this patch forces use of Cygwin's stat functions if core.filemode is
set true, regardless of any other considerations.
Signed-off-by: Mark Levedahl <mlevedahl@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config.txt | diff | blob | history | |
compat/cygwin.c | diff | blob | history |