summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorailin-nemui <ailin-nemui@users.noreply.github.com>2016-02-07 11:48:27 +0100
committerailin-nemui <ailin-nemui@users.noreply.github.com>2016-02-07 11:48:27 +0100
commit6d8b92af8a95443bbcdc65072c41ce9c4d1bfecd (patch)
tree0ea20e0fc66514d60eb62cb3f4e217945d5af33f /.gitattributes
parent086046990012b9634848e6a5018f56c8d11ff9bd (diff)
parent8708d8da49d68057ee8f32e64415c7109d237bd7 (diff)
downloadirssi-6d8b92af8a95443bbcdc65072c41ce9c4d1bfecd.zip
Merge pull request #415 from lanurmi/gitattributes
Add .gitattributes to ensure all shell scripts have LF as eol-style.
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes3
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