Skip to content

Commit

Permalink
Add .gitattribute file to fix repository inconsistencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
samhocevar committed Nov 9, 2020
1 parent f7872b7 commit 034beda
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .gitattributes
@@ -0,0 +1,27 @@

# Everything is text unless it isn’t.
* text=auto

# Source files are whatever the OS prefers but should be
# normalised in the repository.
*.cpp text
*.cs text
*.iss text
*.pas text
*.xaml text
*.html text
*.txt text
*.md text
*.po text
*.pot text

# Just enforce UNIX line endings for bash scripts
*.sh text eol=lf

# This is Windows-specific and should always have CRLF, or
# Visual Studio may misbehave.
*.sln text eol=crlf
*.csproj text eol=crlf
*.vcxproj text eol=crlf
*.resx text eol=crlf

0 comments on commit 034beda

Please sign in to comment.