Skip to content

Commit 1c07e3e

Browse files
committed
Merge branch 'ad/cygwin-wants-rename' into maint
On Cygwin, object creation uses the "create a temporary and then rename it to the final name" pattern, not "create a temporary, hardlink it to the final name and then unlink the temporary" pattern. This is necessary to use Git on Windows shared directories, and is already enabled for the MinGW and plain Windows builds. It also has been used in Cygwin packaged versions of Git for quite a while. See http://thread.gmane.org/gmane.comp.version-control.git/291853 ($gmane/275680, $gmane/291853). * ad/cygwin-wants-rename: config.mak.uname: Cygwin needs OBJECT_CREATION_USES_RENAMES
2 parents d406f68 + e53a64b commit 1c07e3e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

config.mak.uname

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ ifeq ($(uname_O),Cygwin)
187187
X = .exe
188188
UNRELIABLE_FSTAT = UnfortunatelyYes
189189
SPARSE_FLAGS = -isystem /usr/include/w32api -Wno-one-bit-signed-bitfield
190+
OBJECT_CREATION_USES_RENAMES = UnfortunatelyNeedsTo
190191
endif
191192
ifeq ($(uname_S),FreeBSD)
192193
NEEDS_LIBICONV = YesPlease

0 commit comments

Comments
 (0)