From c7c8f38eac434f290e3d0f660088f5bfaf892232 Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Wed, 21 Feb 2018 17:06:35 +0800 Subject: [PATCH] Use proper encoding for email fixtures. --- .gitattributes | 7 +++++-- spec/fixtures/emails/encoded_display_name.eml | Bin 361 -> 372 bytes spec/fixtures/emails/forwarded_email_3.eml | Bin 343 -> 361 bytes spec/fixtures/emails/inline_image.eml | Bin 4125 -> 4201 bytes .../emails/reply_with_8bit_encoding.eml | Bin 362 -> 374 bytes 5 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitattributes b/.gitattributes index ae7015b472a..546b134a0ce 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,11 +1,14 @@ # Set default behaviour, in case users don't have core.autocrlf set. * text=auto -# Explicitly declare text files we want to always be normalized and converted +# Treat email fixtures as binary files so CRLF are not converted to LF. +*.eml binary + +# Explicitly declare text files we want to always be normalized and converted # to native line endings on checkout. *.yml text -# Custom for Visual Studio, very unlikely, but lets keep it +# Custom for Visual Studio, very unlikely, but lets keep it *.cs diff=csharp *.sln merge=union *.csproj merge=union diff --git a/spec/fixtures/emails/encoded_display_name.eml b/spec/fixtures/emails/encoded_display_name.eml index 1b5d6bb3a109b1a27c4772e84f013ebae1b2cec1..132e4404011301d41f24c7ac2f437b1145394c2c 100644 GIT binary patch delta 102 zcmaFK^o41HA|vla#YjzFu8@2yh1}G{5{IP3BE97NTwbo=(xj}^^| zWo&Sfq$ZKe9uf*oX>DaKR%LQ?X>V>iATcg5k^Lx>CIKuT3JTDX(Sy*m(Tvf8(6u1Y Sx6riEzR`ftzR_j;!39gWQD}|8M#9RfN5+Lc2lvt#foS$nqF-Ub{g&ZT-#F+;ATwMN1 zS*ayf3WwVh63=GY64GeV+OcV?at&Gek{!xMr7{~Eu&RAe2;?wl)={%=XGvCcqQ{lcjBuP(6DkGAM{xH|=(w<}G z9q+K@?$4O<@fi2(ON{GWG>ic`RPPo!WilXxZdszB^eSA`lu=G0?G#f=RqH;l!#ia*K-dCK#TQ-bio|&z3UBtAA zNNPc`q4mj;vSv%~V5o`yx8NoGfaw7B6Zit7%~Y!J9<~RmY{M(~2{SF!efSE;bSg*i z0d}-f*@4&a3of=%7w`>QoXRnLgy9gC0=$6@xNJ~AH|!p+SF#z;n|4$5t*z%*R&$Ak N&1`m#9&S)R$v48+beRAE delta 335 zcmXxfJxIfF5Cw4Zp{D<873pA?HVOD`tgYf8B3cBO9xhTGoWv9Y+Cr4lS)5D5TSO2S z5!`eYXJ;#p(ou91aTM`Y>F~SZ?%lz?+vj%EjvO~ypO5Ne(M5V#NpRqMB|kh2s+A=> zH#--#HZ+9~J&CLqk6I~gY5BiK2G`m|OsRrju73VIb<>N-DuF-Ovve`R!D+NP61Kx?Jb%ByU hWEgoTi!drM^K$V{Hf7Y|=H+_w?az^Gckc6Y0RWAX7zzLY delta 63 zcmV-F0KotD0_p;gAdw*=kwi0*cqWmb9uf*oNlis9R%LQ?X>V>iATcg5k