aboutsummaryrefslogtreecommitdiff
path: root/config.mak.uname
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2010-09-04 03:25:09 -0500
committerJunio C Hamano <gitster@pobox.com>2013-04-16 11:18:35 -0700
commit95f31e9ab52b4377086acf7c4d070083e0bee039 (patch)
treee76d9932c530d7e671b196eb73cec366aaaffbac /config.mak.uname
parentafad20055888937b100798b597d924d087688645 (diff)
downloadgit-95f31e9ab52b4377086acf7c4d070083e0bee039.tar.gz
git-95f31e9ab52b4377086acf7c4d070083e0bee039.tar.xz
convert: The native line-ending is \r\n on MinGW
If you try this: 1. Install Git for Windows (from the msysgit project) 2. Put [core] autocrlf = false eol = native in your .gitconfig. 3. Clone a project with *.txt text in its .gitattributes. Then with current git, any text files checked out have LF line endings, instead of the expected CRLF. Cc: Johannes Schindelin <johannes.schindelin@gmx.de> Cc: Johannes Sixt <j6t@kdbg.org> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'config.mak.uname')
-rw-r--r--config.mak.uname1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.mak.uname b/config.mak.uname
index 9080054f7..d78fd3df5 100644
--- a/config.mak.uname
+++ b/config.mak.uname
@@ -507,6 +507,7 @@ ifneq (,$(findstring MINGW,$(uname_S)))
compat/win32/dirent.o
EXTLIBS += -lws2_32
PTHREAD_LIBS =
+ NATIVE_CRLF = YesPlease
X = .exe
SPARSE_FLAGS = -Wno-one-bit-signed-bitfield
ifneq (,$(wildcard ../THIS_IS_MSYSGIT))