diff --git a/.gitattributes b/.gitattributes index 9e88eb40..b5a2cdcc 100644 --- a/.gitattributes +++ b/.gitattributes @@ -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