Skip to content

Commit

Permalink
add some binary configuration for images and other types to prevent c…
Browse files Browse the repository at this point in the history
…orruption of files as seen in other projects
  • Loading branch information
Jesse Eichar committed Feb 22, 2014
1 parent 731cd34 commit 6e4824a
Showing 1 changed file with 22 additions and 8 deletions.
30 changes: 22 additions & 8 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
# Auto detect text files and perform LF normalization
* text=auto

# Custom for Visual Studio
*.cs diff=csharp
*.sln merge=union
*.csproj merge=union
*.vbproj merge=union
*.fsproj merge=union
*.dbproj merge=union

# Standard to msysgit
*.doc diff=astextplain
*.DOC diff=astextplain
Expand All @@ -20,3 +12,25 @@
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain

# Images
*.png binary
*.gif binary
*.bmp binary
*.tiff binary
*.tif binary
*.jpeg binary
*.jpg binary

# Misc binary
*.zip binary
*.mef binary
*.jks binary
*.db binary

# Related to font files
*.ttf binary
*.eot binary
*.woff binary

*.xsd text eol=lf

0 comments on commit 6e4824a

Please sign in to comment.