]> git.lizzy.rs Git - rust.git/commitdiff
Force line ending of '.in' files in jemalloc to LF
authorMukilan Thiagarajan <mukilanthiagarajan@gmail.com>
Sat, 24 Aug 2013 16:50:20 +0000 (22:20 +0530)
committerMukilan Thiagarajan <mukilanthiagarajan@gmail.com>
Sat, 24 Aug 2013 16:50:20 +0000 (22:20 +0530)
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

index 22d42a82a3b83108883e23a72f310b6b902f1b09..10505d47e6c5d6d092d1b2fa619760df8055bc1a 100644 (file)
@@ -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