Skip to content

Commit

Permalink
gitattributes: set .cginc and .shader files to lf line endings to pre…
Browse files Browse the repository at this point in the history
…vent Unity code auto-updater to create mixed line endings.
  • Loading branch information
HaraldCsaszar committed Apr 27, 2019
1 parent 02fc928 commit a7dc2b1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@
*.asset merge=unityyamlmerge text eol=lf
*.meta 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

0 comments on commit a7dc2b1

Please sign in to comment.