Skip to content

Fix line ending check on Windows for .properties files#5671

Open
armahnii2000 wants to merge 1 commit intoportfolio-performance:masterfrom
armahnii2000:fix/windows-line-endings-properties
Open

Fix line ending check on Windows for .properties files#5671
armahnii2000 wants to merge 1 commit intoportfolio-performance:masterfrom
armahnii2000:fix/windows-line-endings-properties

Conversation

@armahnii2000
Copy link
Copy Markdown

@armahnii2000 armahnii2000 commented May 6, 2026

.gitattributes doesn't pin *.properties to LF, so on Windows (where core.autocrlf=true is the default) Git checks them out as CRLF and check-managed-bundles rejects them.

Verified on Windows 11 with clean verify -Plocal-dev.

Existing Windows clones will need to refresh after pulling:

git rm --cached -r .
git reset --hard

Closes #5670

The check-managed-bundles build step requires LF line endings on
.properties files. On Windows clones with the default core.autocrlf=true,
Git converts these files to CRLF on checkout, breaking the build.

Pinning eol=lf in .gitattributes forces Git to always check out
.properties files with LF regardless of OS or autocrlf setting.

Closes portfolio-performance#5670
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.

Building on Windows fails

2 participants