From e13d9cab02380ca6ff77d39f1a181460bc78150c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ho=C5=99e=C5=88ovsk=C3=BD?= Date: Fri, 9 Feb 2018 16:49:35 +0100 Subject: [PATCH] Keep .py files with LF endings so they can be executed from bash --- .gitattributes | 5 +++++ 1 file changed, 5 insertions(+) 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