mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
chore: restore forced LF for patch files with exception (#46185)
chore: restore forced LF for patch files and add exception Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Pedro Pontes <pepontes@microsoft.com>
This commit is contained in:
4
.gitattributes
vendored
4
.gitattributes
vendored
@@ -1,10 +1,14 @@
|
||||
# `git apply` and friends don't understand CRLF, even on windows. Force those
|
||||
# files to be checked out with LF endings even if core.autocrlf is true.
|
||||
*.patch text eol=lf
|
||||
DEPS text eol=lf
|
||||
yarn.lock text eol=lf
|
||||
script/zip_manifests/*.manifest text eol=lf
|
||||
patches/**/.patches merge=union
|
||||
|
||||
# Patch file line ending exceptions (patches that affect CRLF files)
|
||||
reland_lzma_sdk_update_to_24_09.patch -text
|
||||
|
||||
# Source code and markdown files should always use LF as line ending.
|
||||
*.c text eol=lf
|
||||
*.cc text eol=lf
|
||||
|
||||
Reference in New Issue
Block a user