diff --git a/.gitattributes b/.gitattributes --- /dev/null +++ b/.gitattributes @@ -0,0 +1,45 @@ +# Non human-editable files are binary + +**.dsp -text +**.dsw -text +**.mk -text +**.sln -text +**.vcproj -text +**.vsprops -text + +**.aif -text +**.aifc -text +**.aiff -text +**.au -text +**.bmp -text +**.db -text +**.exe -text +**.icns -text +**.gif -text +**.ico -text +**.info -text +**.jpg -text +**.pck -text +**.png -text +**.psd -text +**.tar -text +**.wav -text +**.whl -text +**.xar -text +**.zip -text + +Lib/test/cjkencodings/* -text +Lib/test/decimaltestdata/*.decTest -text +Lib/test/sndhdrdata/sndhdr.* -text +Lib/test/test_email/data/msg_26.txt -text +Lib/test/xmltestdata/* -text + +Lib/venv/scripts/nt/* -text + +Lib/test/coding20731.py -text + +# Windows batch files work best with CRLF, there can be subtle problems with LF +**.bat eol=crlf + +# The Windows readme is likely to be read in Notepad, so make it readable +PCbuild/readme.txt eol=crlf