Skip to content
Permalink
Browse files

Git attributes file for line endings.

  • Loading branch information...
dcwhite committed Jan 31, 2013
1 parent 8c1371d commit 43ef0096fa239e2365b0aad3f812169af4d06be0
Showing with 14 additions and 0 deletions.
  1. +14 −0 .gitattributes
@@ -0,0 +1,14 @@
# Set default behavior, in case users don't have core.autocrlf set.
* text=auto

# Explicitly declare text files we want to always be normalized and converted
# to native line endings on checkout.
*.cc text
*.h text

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

# Denote all files that are truly binary and should not be modified.
*.png binary
*.jpg binary

0 comments on commit 43ef009

Please sign in to comment.
You can’t perform that action at this time.