diff options
Diffstat (limited to '.gitattributes')
| -rw-r--r-- | .gitattributes | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.gitattributes b/.gitattributes index 64584601b1..c63c583436 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,5 +1,8 @@ # Set the default behavior * text=auto -# Do not break script files on Windows (Cygwin gets upset with CRLF) +# Do not break script files on Windows, Bash expects LF *.sh text eol=lf + +# Use LF for Rust because rustfmt works best like that +*.rs text eol=lf |
