diff options
author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | 2009-04-28 00:32:25 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-04-29 16:50:07 -0700 |
commit | 348df16679cf35b7bba7afea99638e7d81dc3d33 (patch) | |
tree | 81bd57136af669f74c387061e6cd3dd502e23882 /Makefile | |
parent | 26e47f25402ad51c6cfa1cd784a3431dd00deeb2 (diff) | |
download | git-348df16679cf35b7bba7afea99638e7d81dc3d33.tar.gz |
Rename core.unreliableHardlinks to core.createObject
"Unreliable hardlinks" is a misleading description for what is happening.
So rename it to something less misleading.
Suggested by Linus Torvalds.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -172,8 +172,8 @@ all:: # information on a not yet closed file that lstat would return for the same # file after it was closed. # -# Define UNRELIABLE_HARDLINKS if your operating systems has problems when -# hardlinking a file to another name and unlinking the original file right +# Define OBJECT_CREATION_USES_RENAMES if your operating systems has problems +# when hardlinking a file to another name and unlinking the original file right # away (some NTFS drivers seem to zero the contents in that scenario). GIT-VERSION-FILE: .FORCE-GIT-VERSION-FILE @@ -837,7 +837,7 @@ ifneq (,$(findstring MINGW,$(uname_S))) NO_NSEC = YesPlease USE_WIN32_MMAP = YesPlease UNRELIABLE_FSTAT = UnfortunatelyYes - UNRELIABLE_HARDLINKS = UnfortunatelySometimes + OBJECT_CREATION_USES_RENAMES = UnfortunatelyNeedsTo COMPAT_CFLAGS += -D__USE_MINGW_ACCESS -DNOGDI -Icompat -Icompat/regex -Icompat/fnmatch COMPAT_CFLAGS += -DSNPRINTF_SIZE_CORR=1 COMPAT_CFLAGS += -DSTRIP_EXTENSION=\".exe\" @@ -1021,8 +1021,8 @@ else COMPAT_OBJS += compat/win32mmap.o endif endif -ifdef UNRELIABLE_HARDLINKS - COMPAT_CFLAGS += -DUNRELIABLE_HARDLINKS=1 +ifdef OBJECT_CREATION_USES_RENAMES + COMPAT_CFLAGS += -DOBJECT_CREATION_MODE=1 endif ifdef NO_PREAD COMPAT_CFLAGS += -DNO_PREAD |