From 825c6a8f218666e3c0dc190e4ef2c474ce34734c Mon Sep 17 00:00:00 2001 From: Daniel Wirtz Date: Tue, 18 Aug 2020 00:35:35 +0200 Subject: Checkout python scripts with LF to keep shebangs intact (#3051) Python scripts were previously checked out with CRLF line endings by default on Windows (unless configured otherwise globally), leading to problems with the shebang not being correctly recognized when mounted into WSL and trying to run `./thescript.py` without prepending `python3` (just like `*.sh` files and `bash` that have already been addressed). NFC except that it helps in mixed setups. --- .gitattributes | 1 + 1 file changed, 1 insertion(+) (limited to '.gitattributes') diff --git a/.gitattributes b/.gitattributes index ba181f19d..11500f6f7 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,3 @@ +*.py text eol=lf *.sh text eol=lf test/binaryen.js/*.txt text eol=lf -- cgit v1.2.3