The script executables should be LF so they can be edited on Windows (#21426)

This commit is contained in:
Amin Yahyaabadi 2021-01-29 12:56:12 -06:00 committed by GitHub
parent 6333223063
commit d3ace8a9b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 0 deletions

10
.gitattributes vendored
View File

@ -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