]> git.ipfire.org Git - thirdparty/git.git/commitdiff
cygwin: stop forcing core.filemode=false
authorMark Levedahl <mlevedahl@gmail.com>
Fri, 19 Jul 2013 23:08:27 +0000 (19:08 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 22 Jul 2013 05:03:31 +0000 (22:03 -0700)
We force core.filemode=false since c869753e (Force core.filemode to
false on Cygwin., 2006-12-30), even when the repository is on a
filesystem on which Cygwin can give us trustable filemodes, because
many native Windows applications the users use to edit files in the
working tree tend to (re)create files with executable bit randomly
set or reset.  However, binary distribution of Git that is supplied
by the downstream project to its users has been built without this
consideration.

Drop NO_TRUSTABLE_FILEMODE from our default configuration so that
hand-compiled Git out of box will match theirs.

Signed-off-by: Mark Levedahl <mlevedahl@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
config.mak.uname

index 257b1ad2a136c5d217161d1113e1031ad6e3c4b3..b45b91075966f450e221bb373ab79a311093284d 100644 (file)
@@ -169,7 +169,6 @@ ifeq ($(uname_O),Cygwin)
        endif
        NEEDS_LIBICONV = YesPlease
        NO_FAST_WORKING_DIRECTORY = UnfortunatelyYes
-       NO_TRUSTABLE_FILEMODE = UnfortunatelyYes
        NO_ST_BLOCKS_IN_STRUCT_STAT = YesPlease
        X = .exe
        COMPAT_OBJS += compat/cygwin.o