Skip to content

Commit

Permalink
Add .gitattributes
Browse files Browse the repository at this point in the history
  • Loading branch information
s1lentq committed Apr 23, 2021
1 parent 68196d6 commit 8908572
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
###############################################################################
# Set default behavior to automatically normalize line endings.
###############################################################################
* text=auto

# Sources
*.c text eol=crlf diff=c
*.cc text eol=crlf diff=cpp
*.cxx text eol=crlf diff=cpp
*.cpp text eol=crlf diff=cpp
*.c++ text eol=crlf diff=cpp
*.hpp text eol=crlf diff=cpp
*.h text eol=crlf diff=c
*.h++ text eol=crlf diff=cpp
*.hh text eol=crlf diff=cpp
*.inc text eol=crlf linguist-language=pawn
*.sma text eol=crlf linguist-language=pawn

# Scripts
*.sh text eol=lf
*.bat text eol=crlf
*.def text eol=crlf
*.rc text eol=crlf

# Compiled Object files
*.o binary
*.a binary
*.obj binary
*.lib binary

# Resources files
*.zip binary

# Project files
*.sln text eol=crlf
*.vcxproj text eol=crlf
*.vcxproj.filters text eol=crlf

0 comments on commit 8908572

Please sign in to comment.