Skip to content

chore: normalize java line endings to LF via gitattributes - #74

Merged
Zhoujie628 merged 1 commit into
project-openan:mainfrom
Zhoujie628:main
Sep 14, 2026
Merged

Zhoujie628 merged 1 commit into
project-openan:mainfrom
Zhoujie628:main

Conversation

@Zhoujie628

Copy link
Copy Markdown
Contributor

Follow-up to #73: the spotless check gate reads working-tree bytes, and Windows checkouts with core.autocrlf could produce mixed line endings after a three-way merge, failing the gate inconsistently. Pin *.java to text eol=lf via .gitattributes so every platform checks out byte-identical LF files and the gate is deterministic.

The spotless check gate reads working-tree bytes, and Windows checkouts
with core.autocrlf could produce mixed line endings (observed after a
three-way cherry-pick), failing the gate inconsistently. Pin *.java to
text eol=lf so every platform checks out byte-identical LF files and the
gate is deterministic; text files normalize to LF in the repository.

Signed-off-by: Zhoujie628 <zhoujie628@users.noreply.github.com>
@Zhoujie628
Zhoujie628 requested a review from a team as a code owner September 14, 2026 16:12
@Zhoujie628
Zhoujie628 merged commit 6b1c2ec into project-openan:main Sep 14, 2026
3 checks passed
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.

1 participant