Skip to content

Commit

Permalink
Fix text file handling
Browse files Browse the repository at this point in the history
Need VS solution/project files also with native line endings, otherwise we'll have issues with Perforce integration.
  • Loading branch information
obiltschnig committed Nov 11, 2012
1 parent 2d71991 commit a0d7883
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,18 @@
*.cpp text
*.c text
*.h text

# Declare files that will always have CRLF line endings on checkout.
*.cmd text eol=crlf
*.sln text eol=crlf
*.vcproj text eol=crlf
*.vcxproj text eol=crlf
*.vcxproj.filters text eol=crlf
*.cmd text
*.sln text
*.vcproj text
*.vcxproj text
*.vcxproj.filters text
*.page text
*.html text
*.css text

# Denote all files that are truly binary and should not be modified.
*.bin binary
*.mc binary
*.png binary
*.jpg binary
*.gif binary

0 comments on commit a0d7883

Please sign in to comment.