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>

Jonathan Nieder committed Sep 4, 2010 at 03:25 UTC 95f31e9ab52b4377086acf7c4d070083e0bee039
1 file changed +1
config.mak.uname
+1
@@ -507,6 +507,7 @@ ifneq (,$(findstring MINGW,$(uname_S)))
507 compat/win32/dirent.o
508 EXTLIBS += -lws2_32
509 PTHREAD_LIBS =
510 + NATIVE_CRLF = YesPlease
511 X = .exe
512 SPARSE_FLAGS = -Wno-one-bit-signed-bitfield
513 ifneq (,$(wildcard ../THIS_IS_MSYSGIT))