007033109d
Some test files were included, where only their data actually depended on line endings. Some tests didn't actually depend on line ending at all. (They may date back to a time where multiline strings didn't normalize their newlines.) Fix some syntax tests that had been formatted, and exempt all files depending on line endings from formatting. Change-Id: I6c003e9c4f03d3b2af102bfca59d4a7bc8e6d63f Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/434380 Reviewed-by: Devon Carew <devoncarew@google.com> Commit-Queue: Lasse Nielsen <lrn@google.com>
33 lines
909 B
Plaintext
33 lines
909 B
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/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_other.dart -text
|
|
|
|
# Files to leave alone and not diff.
|
|
*.png binary
|
|
*.jpg binary
|
|
*.xpi binary
|
|
|
|
*.status diff=status
|