Skip to content

Keep patch files free of line ending conversion - #296

Merged
nmburgan merged 1 commit into
mainfrom
patch_line_endings
Oct 15, 2026
Merged

nmburgan merged 1 commit into
mainfrom
patch_line_endings

Conversation

@nmburgan

Copy link
Copy Markdown
Member

Git for Windows on the hosted runners checks text files out with CRLF endings, so vanagon's patch --binary cannot match the openssl legacy algos patch against apps/openssl.cnf and the openbolt-runtime windows-msys2-x64 build fails with "different line endings".

Mark every patch file -text so git never converts it. rbconfig_win.patch is stored with CRLF endings, which eol=lf would strip.

Git for Windows on the hosted runners checks text files out with CRLF
endings, so vanagon's patch --binary cannot match the openssl legacy
algos patch against apps/openssl.cnf and the openbolt-runtime
windows-msys2-x64 build fails with "different line endings".

Mark every patch file -text so git never converts it. rbconfig_win.patch
is stored with CRLF endings, which eol=lf would strip.

Signed-off-by: nmburgan <13688219+nmburgan@users.noreply.github.com>
@nmburgan
nmburgan merged commit 80e0a37 into main Oct 15, 2026
213 of 215 checks passed
@nmburgan
nmburgan deleted the patch_line_endings branch October 15, 2026 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants