Skip to content

chore: add .gitattributes to pin LF line endings - #34

Merged
starhunt merged 1 commit into
mainfrom
chore/gitattributes-eol
Jun 14, 2026
Merged

starhunt merged 1 commit into
mainfrom
chore/gitattributes-eol

Conversation

@starhunt

Copy link
Copy Markdown
Owner

Summary

core.autocrlf=true caused LF will be replaced by CRLF warnings on every git operation. This pins all text files to LF via .gitattributes (shell scripts always LF, Windows batch CRLF, binaries excluded).

The repository already stores content as LF, so git add --renormalize . changed 0 files — this only fixes checkout normalization and silences the warnings.

Test plan

  • git add --renormalize . → no content changes (repo already LF)
  • .gitattributes covers source, configs, shell scripts, and excludes binaries

🤖 Generated with Claude Code

core.autocrlf=true produced "LF will be replaced by CRLF" warnings on every git
operation. Pin all text files to LF (shell scripts always LF, Windows batch
CRLF, binaries excluded) so endings are consistent regardless of local git
config. The repo already stores LF, so this only normalizes checkout behavior.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@starhunt
starhunt merged commit 7bb6fbb into main Jun 14, 2026
1 check passed
@starhunt
starhunt deleted the chore/gitattributes-eol branch June 14, 2026 09:02
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