Skip to content

Commit

Permalink
Use auto text instead of eol=lf (keep LF in the repo)
Browse files Browse the repository at this point in the history
This is somewhat counter-intiuitive, but it makes some sense. Windows editors will sometimes safe CRLF in files, but we don't want them committed that way, and we want to ignore line ending changes for the most part. If we let git handle this automatically, it will always convert to LF on commit, and keep the repo consistent. Hopefully this will get rid of our problems.
  • Loading branch information
trisweb committed Nov 16, 2012
1 parent b196ef3 commit d6c68e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Auto detect text files and perform LF normalization
* text eol=lf
# Forces
* text=auto

# Custom for Visual Studio
*.cs diff=csharp
Expand Down

0 comments on commit d6c68e4

Please sign in to comment.