aboutsummaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorDave Gauer <dave@ratfactor.com>2021-02-12 20:49:57 -0500
committerDave Gauer <dave@ratfactor.com>2021-02-12 20:49:57 -0500
commit79a2feec39239b289720310571f2cb4b0d454bde (patch)
treea1c3fb90e224a5106a79bf9cade4ae02215a3d68 /.gitattributes
parentdd64f828333d4c6b6a5335d88d0903b0d591178c (diff)
parent971ab7f49836dc21b8f7d6fbed4320e37d503697 (diff)
downloadziglings-79a2feec39239b289720310571f2cb4b0d454bde.tar.gz
ziglings-79a2feec39239b289720310571f2cb4b0d454bde.tar.bz2
ziglings-79a2feec39239b289720310571f2cb4b0d454bde.tar.xz
ziglings-79a2feec39239b289720310571f2cb4b0d454bde.zip
Merge branch 'zig-build' of https://github.com/SpexGuy/ziglings into SpexGuy-zig-build
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes17
1 files changed, 17 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..2ab768e
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,17 @@
+# See https://git-scm.com/docs/gitattributes
+# See https://help.github.com/articles/dealing-with-line-endings/
+
+# Default behavior, if core.autocrlf is unset.
+* text=auto
+
+# Files to be converted to native line endings on checkout.
+*.cpp text
+*.h text
+
+# Text files to always have CRLF (dos) line endings on checkout.
+*.bat text eol=crlf
+
+# Text files to always have LF (unix) line endings on checkout.
+*.sh text eol=lf
+*.zig text eol=lf
+