Keep .py files with LF endings so they can be executed from bash

This commit is contained in:
Martin Hořeňovský 2018-02-09 16:49:35 +01:00
parent 414e2fa946
commit e13d9cab02
1 changed files with 5 additions and 0 deletions

5
.gitattributes vendored
View File

@ -10,6 +10,11 @@
# Windows specific files should retain windows line-endings
*.sln text eol=crlf
# Keep executable scripts with LFs so they can be run after being
# checked out on Windows
*.py text eol=lf
# Keep the single include header with LFs to make sure it is uploaded,
# hashed etc with LF
single_include/*.hpp eol=lf