From 5d108067a734c4fc053dfc4cbaa7fe7e82bdaea0 Mon Sep 17 00:00:00 2001 From: Alexander Aprelev Date: Tue, 2 Oct 2018 12:34:24 -0700 Subject: [PATCH] Force lf-line endings for so that source offsets match across platforms. (flutter/engine#6408) --- engine/src/flutter/.gitattributes | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/engine/src/flutter/.gitattributes b/engine/src/flutter/.gitattributes index 21a13a6c6e..915d1ed51d 100644 --- a/engine/src/flutter/.gitattributes +++ b/engine/src/flutter/.gitattributes @@ -1,7 +1,3 @@ -## This page intentionally left blank. ## -# -# Workaround for VS2013 automatically creating .gitattributes files with -# default settings that we don't want. -# See also: -# http://connect.microsoft.com/VisualStudio/feedback/details/804948/inappropriately-creates-gitattributes-file -# http://crbug.com/342064 +# Dart sources have to be normalized so that source offsets in kernel files +# with source embedded in them match across all platforms. +*.dart text eol=lf \ No newline at end of file