Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upForce LF on .gitattributes #23608
Closed
Force LF on .gitattributes #23608
Labels
Comments
|
That sounds like a useful improvement to me. We should do that for https://github.com/servo/mozjs as well. |
This was referenced Jun 24, 2019
bors-servo
added a commit
to servo/mozjs
that referenced
this issue
Jun 24, 2019
Prevent CRLF conversion on Windows As @jdm suggested in servo/servo#23608. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/mozjs/187) <!-- Reviewable:end -->
bors-servo
added a commit
to servo/mozjs
that referenced
this issue
Jun 25, 2019
Prevent CRLF conversion on Windows As @jdm suggested in servo/servo#23608. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/mozjs/187) <!-- Reviewable:end -->
bors-servo
added a commit
that referenced
this issue
Jun 25, 2019
Prevent CRLF conversion on Windows @jdm Do you prefer `text=auto` or `-text` (seems to be default on Linux, not sure on macOS)? Closes #23608 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23613) <!-- Reviewable:end -->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A local clone on Windows by default gets CRLF, which makes hard to build it on WSL. Can we add
* text=auto eol=lfto use LF consistently? (Or perhaps* -text?)