From 86ef17af4f0d288e980363482607915e0fcb5c70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Fri, 5 Apr 2013 11:20:57 +0200 Subject: [PATCH] prevent crlf on yml files --- .gitattributes | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitattributes b/.gitattributes index 8b0c626436b..ae7015b472a 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,9 +1,10 @@ -# This is the standard LF normalization file used on windows -# - -# Auto detect text files and perform LF normalization +# 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. +*.yml text + # Custom for Visual Studio, very unlikely, but lets keep it *.cs diff=csharp *.sln merge=union