From 98b04198c6ea5bc07cca50956809068adf1fea82 Mon Sep 17 00:00:00 2001 From: David Foerster Date: Tue, 10 May 2016 20:18:37 +0200 Subject: Add .gitattributes file --- .gitattributes | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 .gitattributes (limited to '.gitattributes') diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..e036c946 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,49 @@ +# Set the default behavior, in case people don't have core.autocrlf set. +* text=auto eol=lf + +# Explicitly declare text files you want to always be normalized and converted +# to native line endings on checkout. +*.[ch] text diff=cpp +*.[ch]pp text diff=cpp +*.asm text +Makefile text +*.make text +*.mk text +*.inc text +*.md text +*.xml text +*.xpm text -diff -merge +*.pem text -diff -merge +*.cer text -diff -merge +*.manifest text +*.sh text +*.txt text +*.html text diff=html +*.idl text +*.fbp text +*.rgs text +*.pkgproj text +Sources text + +# Declare files that will always have LF line endings on checkout. +*.desktop text eol=lf + +# Declare files that will always have CRLF line endings on checkout. +*.sln text eol=crlf +*.vcproj text eol=crlf +*.rc text eol=crlf +*.bat text eol=crlf +*.cmd text eol=crlf + +# Denote all files that are truly binary and should not be modified. +*.png binary +*.jpg binary +*.pdf binary +*.bmp binary +*.ico binary +*.od[fgpst] binary +*.hc binary +*.icns binary +*.rtf binary +*.bz2 binary +*.pfx binary -- cgit v1.2.3