From dad2ccc9b3b27d3f438eeea53b771cc85f6dfa32 Mon Sep 17 00:00:00 2001 From: Mukilan Thiagarajan Date: Sat, 24 Aug 2013 22:20:20 +0530 Subject: [PATCH] Force line ending of '.in' files in jemalloc to LF This fixes issue #8731 . On Windows, if the git option core.autocrlf is true (github recommends users to turn on this flag - see https://help.github.com/articles/dealing-with-line-endings), the headers generated from the .in files will have syntatic errors, causing compilation to fail. --- .gitattributes | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitattributes b/.gitattributes index 22d42a82a3b..10505d47e6c 100644 --- a/.gitattributes +++ b/.gitattributes @@ -8,3 +8,6 @@ src/rt/msvc/* -whitespace src/rt/vg/* -whitespace src/rt/linenoise/* -whitespace src/rt/jemalloc/**/* -whitespace +src/rt/jemalloc/include/jemalloc/jemalloc.h.in text eol=lf +src/rt/jemalloc/include/jemalloc/jemalloc_defs.h.in text eol=lf +src/rt/jemalloc/include/jemalloc/internal/jemalloc_internal.h.in text eol=lf