From 5cbb1bcdf9fea5782ff270bbb0e4b77403baf088 Mon Sep 17 00:00:00 2001 From: Alexander Aprelev Date: Tue, 2 Oct 2018 19:44:04 +0000 Subject: [PATCH] Force lf-lineendings for .dart-files. This ensures that Windows-produced kernel files have source offset that match kernel files produced on other platforms. Bug: https://github.com/flutter/flutter/issues/22497 Change-Id: I6c1e044a423ea069cd523a6469804efbc0c0b2e2 Reviewed-on: https://dart-review.googlesource.com/77667 Reviewed-by: Zach Anderson Commit-Queue: Alexander Aprelev --- .gitattributes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitattributes b/.gitattributes index b7d52e56063..7501c167143 100644 --- a/.gitattributes +++ b/.gitattributes @@ -3,11 +3,11 @@ *.cc text eol=lf *.cpp text eol=lf *.h text eol=lf +*.dart text eol=lf # Explicitly declare text files we want to be normalized. *.gyp text *.gypi text -*.dart text *.mk text *.Makefile text *.md text