summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d53174d)
raw | patch | inline | side by side (parent: d53174d)
author | Junio C Hamano <junkio@cox.net> | |
Tue, 4 Oct 2005 02:05:01 +0000 (19:05 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 4 Oct 2005 02:13:20 +0000 (19:13 -0700) |
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>
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>
Makefile | patch | blob | history |
diff --git a/Makefile b/Makefile
index 133808c82fe37a5dc086b7cdaf436bc3ce0027a6..0d3c27793e1e235255229c3408b2675632810afd 100644 (file)
--- a/Makefile
+++ b/Makefile
NEEDS_LIBICONV = YesPlease
NO_IPV6 = YesPlease
X = .exe
+ PLATFORM_DEFINES += -DUSE_SYMLINK_HEAD=0
endif
ifneq (,$(findstring arm,$(shell uname -m)))
ARM_SHA1 = YesPlease