Fixed text wrapping: [MinGW PATCH] Fixed error 'fatal: Not a git repository' on Vista

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Any git command was immediately failing on Vista under MinGW with
fatal: Not a git repository
Defined __USE_MINGW_ACCESS that changes access( ..., X_OK ) into F_OK

Signed-off-by: Dmitry Kakurin <Dmitry.Kakurin@xxxxxxxxx>
---
Makefile |    2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index 8e9a76b..ef40267 100644
--- a/Makefile
+++ b/Makefile
@@ -500,7 +500,7 @@ ifneq (,$(findstring MINGW,$(uname_S)))
 NO_SYMLINKS=YesPlease
 NO_SVN_TESTS=YesPlease
 NO_PERL_MAKEMAKER=YesPlease
- COMPAT_CFLAGS += -DNO_ETC_PASSWD -DNO_ST_BLOCKS -DSTRIP_EXTENSION=\".exe\" -I compat
+ COMPAT_CFLAGS += -DNO_ETC_PASSWD -DNO_ST_BLOCKS -DSTRIP_EXTENSION=\".exe\" -D__USE_MINGW_ACCESS -I compat
 COMPAT_OBJS += compat/mingw.o compat/fnmatch.o compat/regex.o
 EXTLIBS += -lws2_32
 X = .exe
--
1.5.2.2

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux