mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 09:12:08 +00:00
f30a7ade48
llvm.sh must always use Linux newlines due to the #! line as a \r character is considered part of the invoked program. This change fixes that by simply forcing Unix newlines on all .sh files, like we do with other file formats like C++ & Dart already. Fixes: b/330293090 Change-Id: Iaf044da487261908f96c76d5c62385a033106a0b Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/358480 Commit-Queue: Jonas Termansen <sortie@google.com> Commit-Queue: William Hesse <whesse@google.com> Auto-Submit: Jonas Termansen <sortie@google.com> Reviewed-by: William Hesse <whesse@google.com>
40 lines
1.3 KiB
Plaintext
40 lines
1.3 KiB
Plaintext
# Source files should not be normalized to avoid confusing clang-format-diff.py
|
|
*.c text eol=lf
|
|
*.cc text eol=lf
|
|
*.cpp text eol=lf
|
|
*.h text eol=lf
|
|
*.dart text eol=lf
|
|
*.sh text eol=lf
|
|
|
|
# Explicitly declare text files we want to be normalized.
|
|
*.gyp text
|
|
*.gypi text
|
|
*.mk text
|
|
*.Makefile text
|
|
*.md text
|
|
*.yaml text
|
|
|
|
# File that should not be converted.
|
|
tests/web/eof_line_ending_test.dart -text
|
|
tests/web/string_interpolation_test.dart -text
|
|
tests/web/string_interpolation_dynamic_test.dart -text
|
|
tests/web/literal_string_juxtaposition_test.dart -text
|
|
tests/language/string/raw_string_test.dart -text
|
|
tests/language/string/multiline_strings_test.dart -text
|
|
tests/language/string/multiline_newline_cr.dart -text
|
|
tests/language/string/multiline_newline_crlf.dart -text
|
|
tests/language/string/multiline_newline_lf.dart -text
|
|
tests/lib/mirrors/method_mirror_source_line_ending_cr.dart -text
|
|
tests/lib/mirrors/method_mirror_source_line_ending_crlf.dart -text
|
|
tests/lib/mirrors/method_mirror_source_line_ending_lf.dart -text
|
|
tests/lib/mirrors/method_mirror_source_line_ending_test.dart -text
|
|
tests/lib/mirrors/method_mirror_source_other.dart -text
|
|
tests/lib/mirrors/method_mirror_source_test.dart -text
|
|
|
|
# Files to leave alone and not diff.
|
|
*.png binary
|
|
*.jpg binary
|
|
*.xpi binary
|
|
|
|
*.status diff=status
|