Expand gitattributes to cover a few more scenarios

This commit is contained in:
Ebag333
2017-01-17 08:53:01 -08:00
committed by GitHub
parent af7272cd10
commit 836504ee01

27
.gitattributes vendored
View File

@@ -7,11 +7,34 @@
# *.h text
# Declare files that will always have CRLF line endings on checkout.
*.py text eol=crlf
# Source files
# ============
*.pxd text eol=crlf
*.py text eol=crlf
*.py3 text eol=crlf
*.pyw text eol=crlf
*.pyx text eol=crlf
# Denote all files that are truly binary and should not be modified.
# Binary files
# ============
*.db binary
*.p binary
*.pkl binary
*.pyc binary
*.pyd binary
*.pyo binary
# Note: .db, .p, and .pkl files are associated
# with the python modules ``pickle``, ``dbm.*``,
# ``shelve``, ``marshal``, ``anydbm``, & ``bsddb``
# (among others).
# Denote all files that are truly binary and should not be modified.
# Image files
# ============
*.png binary
*.jpg binary
*.icns binary
*.ico binary
*.db binary