# Set the default behavior, in case people don't have core.autocrlf set. * text=auto # Explicitly declare text files that could be normalized and converted # to native line endings on checkout. However, as per the policy they're # supposed to have LF endings on all platforms. *.[ch] text diff=cpp eol=lf *.[ch]pp text diff=cpp eol=lf *.asm text eol=lf Makefile text eol=lf *.make text eol=lf *.mk text eol=lf *.inc text eol=lf *.md text eol=lf *.xml text eol=lf *.xpm text -diff -merge eol=lf *.pem text -diff -merge eol=lf *.cer text -diff -merge eol=lf *.manifest text eol=lf *.sh text eol=lf *.txt text eol=lf *.html text diff=html eol=lf *.idl text eol=lf *.fbp text eol=lf *.rgs text eol=lf *.pkgproj text eol=lf *.S text eol=lf Sources text eol=lf # 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