Skip to content

Commit

Permalink
Add .gitattributes with rules for line endings of files.
Browse files Browse the repository at this point in the history
(cherry picked from commit f2a2be7)
  • Loading branch information
rokups authored and ocornut committed Nov 4, 2019
1 parent bcd752c commit c9ffa62
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
* text=auto

*.c text
*.cpp text
*.h text
*.m text
*.mm text
*.md text
*.txt text
*.html text
*.bat text
*.frag text
*.vert text
*.mkb text
*.icf text

*.sln text eol=crlf
*.vcxproj text eol=crlf
*.vcxproj.filters text eol=crlf
*.natvis text eol=crlf

Makefile text eol=lf
*.sh text eol=lf
*.pbxproj text eol=lf
*.storyboard text eol=lf
*.plist text eol=lf

*.png binary
*.ttf binary
*.lib binary

0 comments on commit c9ffa62

Please sign in to comment.