From 3db9e96b0d8445ce1cb8e56c999042fca3a609b2 Mon Sep 17 00:00:00 2001 From: Nigel Tao Date: Fri, 24 Feb 2023 09:46:17 +1100 Subject: [PATCH] root: add .gitattributes Fixes #100 --- .gitattributes | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..108cb945 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,12 @@ +# Source code is always LF, never CRLF. +# +# For example, tools like the wuffs-c compiler (and its internal/cgen package) +# look for hard-coded strings containing "\n" but not "\r\n". +*.c text eol=lf +*.cc text eol=lf +*.go text eol=lf +*.h text eol=lf +*.hh text eol=lf +*.rs text eol=lf +*.sh text eol=lf +*.wuffs text eol=lf