diff options
author | Daniel Wirtz <dcode@dcode.io> | 2020-08-18 00:35:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-17 15:35:35 -0700 |
commit | 825c6a8f218666e3c0dc190e4ef2c474ce34734c (patch) | |
tree | 35c7d564929af163c0d41f9ec32e081e36a7ee67 /.gitattributes | |
parent | 0fdbb1d33810d84bbd9a408b3486bff0d9015989 (diff) | |
download | binaryen-825c6a8f218666e3c0dc190e4ef2c474ce34734c.tar.gz binaryen-825c6a8f218666e3c0dc190e4ef2c474ce34734c.tar.bz2 binaryen-825c6a8f218666e3c0dc190e4ef2c474ce34734c.zip |
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.
Diffstat (limited to '.gitattributes')
-rw-r--r-- | .gitattributes | 1 |
1 files changed, 1 insertions, 0 deletions
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 |