This fixes an issue for some people where update_patches generates conflicting diffs with what is in the repo. This standardizes the diff algorithm for mm files so it should be the same for everyone
73 lines
1.9 KiB
Plaintext
73 lines
1.9 KiB
Plaintext
# Force LF checkout for all source files
|
|
*.bin binary
|
|
*.c text eol=lf
|
|
*.cc text eol=lf
|
|
*.cpp text eol=lf
|
|
*.css text eol=lf
|
|
*.csv text eol=lf
|
|
*.grd text eol=lf
|
|
*.grdp text eol=lf
|
|
*.gn text eol=lf
|
|
*.gni text eol=lf
|
|
*.h text eol=lf
|
|
*.html text eol=lf
|
|
*.icon text eol=lf
|
|
*.idl text eol=lf
|
|
*.in text eol=lf
|
|
*.inc text eol=lf
|
|
*.java text eol=lf
|
|
*.js text eol=lf
|
|
*.json text eol=lf
|
|
*.json5 text eol=lf
|
|
*.md text eol=lf
|
|
*.mm text eol=lf diff=cpp
|
|
*.mojom text eol=lf
|
|
*.patch text eol=lf
|
|
*.pdf -diff
|
|
*.proto text eol=lf
|
|
*.py text eol=lf
|
|
*.rs text eol=lf
|
|
*.sh text eol=lf
|
|
*.spec text eol=lf
|
|
*.sql text eol=lf
|
|
*.ts text eol=lf
|
|
*.tsx text eol=lf
|
|
*.txt text eol=lf
|
|
*.xml text eol=lf
|
|
*.xslt text eol=lf
|
|
*.xtb text eol=lf
|
|
|
|
.ci_features text eol=lf linguist-language=ini
|
|
.clang* text eol=lf
|
|
.git-blame-ignore-revs text eol=lf
|
|
.gitattributes text eol=lf
|
|
.gitignore text eol=lf
|
|
.vpython* text eol=lf linguist-language=protocol-buffer-text-format
|
|
|
|
/test/filters/*.filter text eol=lf linguist-language=gitignore
|
|
|
|
DEPS text eol=lf
|
|
LICENSE text eol=lf
|
|
LICENSE.* text eol=lf
|
|
OWNERS text eol=lf
|
|
README text eol=lf
|
|
README.* text eol=lf
|
|
VERSION text eol=lf
|
|
|
|
# These files should have CRLF
|
|
win_build_output/midl/brave/**/*.c text eol=crlf
|
|
win_build_output/midl/brave/**/*.h text eol=crlf
|
|
win_build_output/midl/chrome/**/*.c text eol=crlf
|
|
win_build_output/midl/chrome/**/*.h text eol=crlf
|
|
|
|
|
|
win_build_output/midl/google_update/*/*.c text eol=crlf
|
|
win_build_output/midl/google_update/*/*.h text eol=crlf
|
|
test/data/tor/tor_control/*_win/controlport text eol=crlf
|
|
|
|
# When vendoring deps via cargo vendor,
|
|
# cargo calculates the checksums based on the line endings of the vendored deps,
|
|
# and not based on what we have set for the different file types above.
|
|
tools/crates/vendor/** -text
|
|
ui/webui/resources/wasm/vendor/** -text
|