On Cygwin, use symbolic ref, not a symbolic link, to express .git/HEAD
H. Peter Anvin says that Samba "promotes" symlinks to hardlinks while Cygwin itself uses .lnk files to emulate symlinks. Avoid using symbolic link for .git/HEAD on Cygwin. This does not help the symlinks recorded in trees as user data, but at least we do not use them for our own bookkeeping. Signed-off-by: Junio C Hamano <junkio@cox.net>
Junio C Hamano committed
Oct 3, 2005 at 19:05 UTC
4514385edd913f6c10fa03c828effc5ba974369e
1 file changed
+1
Makefile
+1
@@ -183,6 +183,7 @@ ifeq ($(shell uname -o),Cygwin)
183
NEEDS_LIBICONV = YesPlease
184
NO_IPV6 = YesPlease
185
X = .exe
186
+ PLATFORM_DEFINES += -DUSE_SYMLINK_HEAD=0
187
endif
188
ifneq (,$(findstring arm,$(shell uname -m)))
189
ARM_SHA1 = YesPlease