Skip to content

Commit

Permalink
gitattributes: force LF line endings for all files
Browse files Browse the repository at this point in the history
This avoids default CRLF on msysgit for Windows which can cause trouble.
Cf. https://help.github.com/articles/dealing-with-line-endings#text-eollf

Commit dad2ccc followup.
Closes rust-lang#7723.
  • Loading branch information
adrientetar committed Sep 16, 2013
1 parent 29032cd commit 62991e6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
[attr]rust text eol=lf whitespace=tab-in-indent,trailing-space,tabwidth=4

* text=auto
* text eol=lf
*.cpp rust
*.h rust
*.rs rust
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

0 comments on commit 62991e6

Please sign in to comment.