From fa93073a7173d3d2c3eddd3c9a7f23cfb74dd97c Mon Sep 17 00:00:00 2001 From: Graeme Geldenhuys Date: Fri, 17 Jan 2014 15:21:06 +0000 Subject: [PATCH] Adds a git attributes file to help manage EOL styles. --- .gitattributes | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..5e785c0 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,29 @@ +# Set default behaviour, in case users don't have core.autocrlf set. +* text=auto + +# Explicitly set some EOL styles and preferred diff style +*.pas text diff=pascal +*.lpr text diff=pascal +*.pp text diff=pascal +*.inc text diff=pascal +*.txt text +*.xpm text +*.ods diff=odf +*.odt diff=odf +*.odp diff=odf + +# declare files that must always have specific EOL style +*.dez text eol=crlf + +# True binary files that should not be modified (just for safety sake) +*.jpg binary +*.png binary +*.bmp binary +*.inf binary +*.INF binary +*.zip binary +*.res binary +*.tar.gz binary +*.wav binary +*.pdf binary +