Skip to content

Commit 27e2314

Browse files
jbmscopybara-github
authored andcommittedOct 24, 2022
Ensure line endings are never converted by git
On Windows it is common to set `core.autocrlf=true`, which breaks the patches. See #53 PiperOrigin-RevId: 483433083 Change-Id: I7c9bcbd77f1c8c607ebe6f93cd5aea799cf44958
1 parent 93c0e87 commit 27e2314

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
 

‎.gitattributes

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Prevent line ending conversions by default to avoid problems with binary files.
2+
#
3+
# Some of the patches in third_party/ don't work correctly with line
4+
# ending conversion.
5+
* -text

0 commit comments

Comments
 (0)