From 823245c0b2f2156b2c8ce5c7292cbe845a47de59 Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Fri, 28 Jun 2013 08:45:52 +0700 Subject: Set up text/binary handling for existing file types --- .gitattributes | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .gitattributes (limited to '.gitattributes') diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..ba5445104 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,37 @@ +# 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 +# to native line endings on checkout. +*.build text diff=xml +*.cs text diff=csharp +*.csproj text diff=xml +*.eml text +*.html text diff=html +*.mdp text diff=xml +*.mds text diff=xml +*.nunit text diff=xml +*.pem text +*.README text +*.sln text +*.txt text +*.xml text diff=xml + +# Denote all files that are truly binary and should not be modified. +*.bin binary +*.cer binary +*.crl binary +*.crt binary +*.data binary +*.dsa binary +*.jpg binary +*.jpeg binary +*.key binary +*.p12 binary +*.p7m binary +*.png binary +*.pri binary +*.pub binary +*.rsa binary +*.sec binary +*.sig binary -- cgit 1.4.1