gitattributes: set .cginc and .shader files to lf line endings to prevent Unity code auto-updater to create mixed line endings.

This commit is contained in:
Harald Csaszar 2019-04-27 14:15:10 +02:00
parent c8594a66c4
commit 533203bf32

4
.gitattributes vendored
View File

@ -15,3 +15,7 @@
*.asset merge=unityyamlmerge text eol=lf *.asset merge=unityyamlmerge text eol=lf
*.meta merge=unityyamlmerge text eol=lf *.meta merge=unityyamlmerge text eol=lf
*.controller merge=unityyamlmerge text eol=lf *.controller merge=unityyamlmerge text eol=lf
# Prevent mixed line ending warnings created by Unity's code auto-updater
*.cginc text eol=lf
*.shader text eol=lf