Skip to content
Permalink
Browse files

Update .gitattributes

Add explicit rules for line endings.
  • Loading branch information
Kryptos-FR authored and xen2 committed Jul 3, 2019
1 parent 50bfc17 commit c0bad0b4930a1986ea0a6248f933b934b43ba0f9
Showing with 18 additions and 0 deletions.
  1. +18 −0 .gitattributes
@@ -1,3 +1,21 @@
# Set the default behavior, in case people don't have core.autocrlf set.
* text=auto

# Explicitly declare text files you want to always be normalized and converted
# to native line endings on checkout.
*.c text
*.cpp text
*.cs text
*.h text

# Declare files that will always have CRLF line endings on checkout.
*.bat text eol=crlf
*.csproj text eol=crlf
*.sln text eol=crlf

# Declare files that will always have LF line endings on checkout.
*.sh text eol=lf

# binaries
*.dll filter=lfs diff=lfs merge=lfs -text
*.exe filter=lfs diff=lfs merge=lfs -text

0 comments on commit c0bad0b

Please sign in to comment.
You can’t perform that action at this time.