Add .gitattributes file

This commit is contained in:
David Foerster 2016-05-10 20:18:37 +02:00
parent 6d61f06a53
commit 98b04198c6

49
.gitattributes vendored Normal file
View File

@ -0,0 +1,49 @@
# Set the default behavior, in case people don't have core.autocrlf set.
* text=auto eol=lf
# Explicitly declare text files you want to always be normalized and converted
# to native line endings on checkout.
*.[ch] text diff=cpp
*.[ch]pp text diff=cpp
*.asm text
Makefile text
*.make text
*.mk text
*.inc text
*.md text
*.xml text
*.xpm text -diff -merge
*.pem text -diff -merge
*.cer text -diff -merge
*.manifest text
*.sh text
*.txt text
*.html text diff=html
*.idl text
*.fbp text
*.rgs text
*.pkgproj text
Sources text
# Declare files that will always have LF line endings on checkout.
*.desktop text eol=lf
# Declare files that will always have CRLF line endings on checkout.
*.sln text eol=crlf
*.vcproj text eol=crlf
*.rc text eol=crlf
*.bat text eol=crlf
*.cmd text eol=crlf
# Denote all files that are truly binary and should not be modified.
*.png binary
*.jpg binary
*.pdf binary
*.bmp binary
*.ico binary
*.od[fgpst] binary
*.hc binary
*.icns binary
*.rtf binary
*.bz2 binary
*.pfx binary