]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Set NO_MMAP for Cygwin by default
authorJunio C Hamano <junkio@cox.net>
Wed, 27 Dec 2006 23:12:31 +0000 (15:12 -0800)
committerJunio C Hamano <junkio@cox.net>
Wed, 27 Dec 2006 23:12:31 +0000 (15:12 -0800)
This should not be necessary for people who only use NTFS, but for
people with FAT32 it seems to be an issue.  Let's ship with a safer
default.

Signed-off-by: Junio C Hamano <junkio@cox.net>
Makefile

index 52d4a3a86a214a99bd3cf32053539e18f36778a7..f862170b1f8297b397022764a5937ff4d466b87d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -360,8 +360,8 @@ ifeq ($(uname_O),Cygwin)
        NO_FAST_WORKING_DIRECTORY = UnfortunatelyYes
        # There are conflicting reports about this.
        # On some boxes NO_MMAP is needed, and not so elsewhere.
-       # Try uncommenting this if you see things break -- YMMV.
-       NO_MMAP = YesPlease
+       # Try commenting this out if you suspect MMAP is more efficient
+       NO_MMAP = YesPlease
        NO_IPV6 = YesPlease
        X = .exe
 endif