mirror of https://github.com/python/cpython
bpo-27425: Be more explicit in .gitattributes (GH-840)
Updates checked-in line endings on several files.
This commit is contained in:
parent
29fda8db16
commit
6b6e687766
|
@ -1,8 +1,41 @@
|
||||||
|
# Binary data types
|
||||||
|
*.aif binary
|
||||||
|
*.aifc binary
|
||||||
|
*.aiff binary
|
||||||
|
*.au binary
|
||||||
|
*.bmp binary
|
||||||
|
*.exe binary
|
||||||
|
*.icns binary
|
||||||
|
*.gif binary
|
||||||
|
*.ico binary
|
||||||
|
*.jpg binary
|
||||||
*.pck binary
|
*.pck binary
|
||||||
Lib/test/cjkencodings/* binary
|
*.png binary
|
||||||
Lib/test/decimaltestdata/*.decTest binary
|
*.psd binary
|
||||||
|
*.tar binary
|
||||||
|
*.wav binary
|
||||||
|
*.whl binary
|
||||||
|
*.zip binary
|
||||||
|
|
||||||
|
# Specific binary files
|
||||||
Lib/test/sndhdrdata/sndhdr.* binary
|
Lib/test/sndhdrdata/sndhdr.* binary
|
||||||
Lib/test/test_email/data/msg_26.txt binary
|
|
||||||
Lib/test/xmltestdata/* binary
|
# Text files that should not be subject to eol conversion
|
||||||
Lib/venv/scripts/nt/* binary
|
Lib/test/cjkencodings/* -text
|
||||||
Lib/test/coding20731.py binary
|
Lib/test/decimaltestdata/*.decTest -text
|
||||||
|
Lib/test/test_email/data/*.txt -text
|
||||||
|
Lib/test/xmltestdata/* -text
|
||||||
|
Lib/test/coding20731.py -text
|
||||||
|
|
||||||
|
# Special files in third party code
|
||||||
|
Modules/zlib/zlib.map -text
|
||||||
|
|
||||||
|
# CRLF files
|
||||||
|
*.bat text eol=crlf
|
||||||
|
*.ps1 text eol=crlf
|
||||||
|
*.sln text eol=crlf
|
||||||
|
*.vcxproj* text eol=crlf
|
||||||
|
*.props text eol=crlf
|
||||||
|
*.proj text eol=crlf
|
||||||
|
PCbuild/readme.txt text eol=crlf
|
||||||
|
PC/readme.txt text eol=crlf
|
||||||
|
|
Loading…
Reference in New Issue