From dc2634dcf70ee5b09fd2eb787d7f773cb3c48afa 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. (#6408) --- .gitattributes | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.gitattributes b/.gitattributes index 21a13a6c6e189..915d1ed51d121 100644 --- a/.gitattributes +++ b/.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