summaryrefslogtreecommitdiffstats
path: root/.gitattributes
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-03-27 14:11:34 (GMT)
committerGitHub <noreply@github.com>2017-03-27 14:11:34 (GMT)
commitcf57fe13b44e3994096ae79f32c11475f333a94f (patch)
treedbf9747645491dbf34b006e5ca3a3e4c3e355a9d /.gitattributes
parentec3a32699e03cc12892a1b2fd37eed5a721ab5a0 (diff)
downloadcpython-cf57fe13b44e3994096ae79f32c11475f333a94f.zip
cpython-cf57fe13b44e3994096ae79f32c11475f333a94f.tar.gz
cpython-cf57fe13b44e3994096ae79f32c11475f333a94f.tar.bz2
bpo-27425: Add .gitattributes, fix Windows tests (#844)
Mark binary files as binay in .gitattributes to not translate newline characters in Git repositories on Windows.
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes8
1 files changed, 8 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..82694d8
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,8 @@
+*.pck binary
+Lib/test/cjkencodings/* binary
+Lib/test/decimaltestdata/*.decTest binary
+Lib/test/sndhdrdata/sndhdr.* binary
+Lib/test/test_email/data/msg_26.txt binary
+Lib/test/xmltestdata/* binary
+Lib/venv/scripts/nt/* binary
+Lib/test/coding20731.py binary