root: add .gitattributes

Fixes #100
This commit is contained in:
Nigel Tao committed 2023-02-24 09:47:23 +11:00
1 parent be37cc46c0
commit 3db9e96b0d
1 file changed
+12
+12
View File
@@ -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