Skip to content

Commit

Permalink
Add .gitattributes
Browse files Browse the repository at this point in the history
Add .gitattributes file to normalize line endings.

Signed-off-by: Tomi Valkeinen <[email protected]>
  • Loading branch information
tomba committed May 12, 2014
1 parent 5b440d7 commit e22acca
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Explicitly declare text files you want to always be normalized and converted
# to native line endings on checkout.
*.c text
*.h text
*.cpp text
*.cs text diff=csharp
*.lua text

# Declare files that will always have CRLF line endings on checkout.
*.sln text eol=crlf

0 comments on commit e22acca

Please sign in to comment.