Skip to content

Commit

Permalink
adding repository .gitattributes file to handle line endings across O…
Browse files Browse the repository at this point in the history
…Ses.
  • Loading branch information
jkrech committed Jul 1, 2016
1 parent c53aa6c commit c8eaa88
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# 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
*.h text
*.txt text
*.xsd text
*.pdsc text
*.svd text
*.bat text

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

# Denote all files that are truly binary and should not be modified.
*.png binary
*.jpg binary
*.a binary
*.lib binary
*.exe binary

0 comments on commit c8eaa88

Please sign in to comment.