diff options
author | Lauri Nurmi <lanurmi@iki.fi> | 2016-01-31 20:49:59 +0200 |
---|---|---|
committer | Lauri Nurmi <lanurmi@iki.fi> | 2016-01-31 20:49:59 +0200 |
commit | 8708d8da49d68057ee8f32e64415c7109d237bd7 (patch) | |
tree | ed90fe9f2396526c1d828520dbf956a0703471ef /.gitattributes | |
parent | 161772892f5525f5565a2e00fe1181adbc5c3976 (diff) | |
download | irssi-8708d8da49d68057ee8f32e64415c7109d237bd7.zip |
Add .gitattributes to ensure all shell scripts have LF as eol-style.
Some Git clients on Windows may use CRLF otherwise, which effectively prevents running such scripts.
Diffstat (limited to '.gitattributes')
-rw-r--r-- | .gitattributes | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..e1ae7d9d --- /dev/null +++ b/.gitattributes @@ -0,0 +1,3 @@ +# On Windows, some Git clients may normalize all text files' line-endings to +# CRLF, which causes obscure errors when running shell scripts. +*.sh eol=lf |