Skip to content

Declare deterministic line endings for text assets - #31

Merged
GG-O-BP merged 1 commit into
mainfrom
chore/gitattributes-eol
Sep 3, 2026
Merged

GG-O-BP merged 1 commit into
mainfrom
chore/gitattributes-eol

Conversation

@GG-O-BP

@GG-O-BP GG-O-BP commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • mendraw had no .gitattributes, so Windows checkouts with core.autocrlf=true could convert sources to CRLF and break gleam format --check, generator diffs, and the TOML line-ending preservation fixed for mxpak in mendraw#10.
  • Adds explicit rules: text sources/manifests/docs normalize to LF in the repository and on checkout; binary assets are never normalized.
  • git add --renormalize . produced no content changes, confirming every tracked file is already LF-normalized; git check-attr verifies the rules now apply.

Fixes #23

Verification

  • git add --renormalize . — no renormalization diff.
  • git check-attr text eol — rules apply to Gleam/JS/TOML/Markdown sources.
  • ./scripts/verify.sh inner mendraw — passed.
  • ./scripts/check-all.sh — passed.
  • pre-push verify.sh final — passed (family checks, widget build, Lustre E2E, Mendix full E2E).

@GG-O-BP
GG-O-BP merged commit 2f1d091 into main Sep 3, 2026
@GG-O-BP
GG-O-BP deleted the chore/gitattributes-eol branch September 3, 2026 02:16
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.

[build-ci] .gitattributes에 eol/text 규칙이 없어 CRLF diff 노이즈

1 participant