aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.editorconfig14
-rw-r--r--.gitattributes12
2 files changed, 26 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..06f8939
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,14 @@
+root = true
+
+# All
+[*]
+charset = utf-8
+
+# Extension
+[*.sh]
+end_of_line = lf
+
+[*.cmd]
+end_of_line = crlf
+
+# EOF
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..4008ef7
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,12 @@
+# -*- coding: utf-8 -*-
+# vim:fenc=utf-8 ff=unix
+
+# git system files
+.gitattributes eol=lf
+.gitignore eol=lf
+.editorconfig eol=lf
+
+*.sh text eol=lf
+*.cmd -text
+
+# EOF