Skip to content

Commit

Permalink
Added .gitattributes to fix cr/lf stuff.
Browse files Browse the repository at this point in the history
  • Loading branch information
sez11a committed Jul 29, 2013
1 parent 3681b3c commit b3e590c
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .gitattributes
@@ -0,0 +1,27 @@
# Set default behaviour, 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.
*.c text
*.h text
*.java text
*.xml text
*.fodp text diff=xml
*.properties text
*.css text
*.js text
*.sql text
*.txt text
*.xsl text
*.tex text
*.markdown text
*.md 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
*.gif binary

0 comments on commit b3e590c

Please sign in to comment.