[windows] bpo-27425: Be more explicit in .gitattributes by zware · Pull Request #840 · python/cpython (original) (raw)
This is largely a direct conversion of .hgeol, assuming I understand the rules of .gitattributes correctly. I also went through and made sure there were actually examples of each entry checked in.
A big difference here is that some of the test files (in test_email, xmltestdata, etc) are no longer marked as binary
but rather just -text
which should mean that they are not subject to EOL conversion, but git diff
provides a nice text diff including line ending changes.
It also expands on .hgeol a bit, with a few more Windows-specific files marked as CRLF.