Skip to content

Commit c28facd

Browse files
mark987gitster
authored andcommitted
cygwin: stop forcing core.filemode=false
We force core.filemode=false since c869753 (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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent f593ef7 commit c28facd

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

config.mak.uname

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,6 @@ ifeq ($(uname_O),Cygwin)
169169
endif
170170
NEEDS_LIBICONV = YesPlease
171171
NO_FAST_WORKING_DIRECTORY = UnfortunatelyYes
172-
NO_TRUSTABLE_FILEMODE = UnfortunatelyYes
173172
NO_ST_BLOCKS_IN_STRUCT_STAT = YesPlease
174173
X = .exe
175174
COMPAT_OBJS += compat/cygwin.o

0 commit comments

Comments
 (0)