From 6e4824aef8d43b978dc817b15d829cf196f5a531 Mon Sep 17 00:00:00 2001 From: Jesse Eichar Date: Sat, 22 Feb 2014 09:01:47 +0100 Subject: [PATCH] add some binary configuration for images and other types to prevent corruption of files as seen in other projects --- .gitattributes | 30 ++++++++++++++++++++++-------- 1 file changed, 22 insertions(+), 8 deletions(-) diff --git a/.gitattributes b/.gitattributes index 412eeda78dc..dfd725df410 100644 --- a/.gitattributes +++ b/.gitattributes @@ -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 @@ -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