diff options
-rw-r--r-- | .gitattributes | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..e036c946 --- /dev/null +++ b/.gitattributes @@ -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 |