From d3ace8a9b278a1082ce20beaa8128c0d2fc9080e Mon Sep 17 00:00:00 2001 From: Amin Yahyaabadi Date: Fri, 29 Jan 2021 12:56:12 -0600 Subject: [PATCH] The script executables should be LF so they can be edited on Windows (#21426) --- .gitattributes | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.gitattributes b/.gitattributes index 4505149da..d2728b926 100644 --- a/.gitattributes +++ b/.gitattributes @@ -15,3 +15,13 @@ spec/fixtures/sample.txt text eol=lf # Windows bash scripts are also Unix LF endings *.sh eol=lf + +# The script executables should be LF so they can be edited on Windows +script/bootstrap text eol=lf +script/build text eol=lf +script/cibuild text eol=lf +script/clean text eol=lf +script/lint text eol=lf +script/postprocess-junit-results text eol=lf +script/test text eol=lf +script/verify-snapshot-script text eol=lf