From 59e305e85287fb60aabf05fcc86a970a5b949f84 Mon Sep 17 00:00:00 2001 From: Dimitris Panokostas Date: Wed, 25 Jan 2017 12:03:00 +0100 Subject: [PATCH] Updated gitattributes --- .gitattributes | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.gitattributes b/.gitattributes index 198a7c45..4888b1ed 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,6 +1,22 @@ # Auto detect text files and perform LF normalization * text=auto +# Explicitly declare text files you want to always be normalized and converted +# to native line endings on checkout. +*.c text +*.h text +*.cpp text +*.hpp text + +# Declare files that will always have CRLF line endings on checkout. +*.sln text eol=crlf + +# Denote all files that are truly binary and should not be modified. +*.png binary +*.ico binary +*.bmp binary +*.ttf binary + # Custom for Visual Studio *.cs diff=csharp