Skip to content

chore: tighten .gitattributes to the rules in use - #48

Merged
modem7 merged 1 commit into
masterfrom
chore/tighten-gitattributes
Nov 14, 2026
Merged

modem7 merged 1 commit into
masterfrom
chore/tighten-gitattributes

Conversation

@modem7

@modem7 modem7 commented Nov 14, 2026

Copy link
Copy Markdown
Owner

Replaces the 816-line universal .gitattributes template with a ~35-line file of rules this repo can use. Tracked in modem7/claude-config#86; same change as modem7/claude-config#88.

Checked before opening:

  • git check-attr eol binary over every tracked file is identical before and after.
  • git add --renormalize . changes no file contents.

Replace the 816-line universal template with a ~35-line file: LF by default,
CRLF for cmd/bat/ps1, diff drivers for py/md/sh/bats, and a binary list.

git check-attr (eol, binary) over all tracked files is unchanged and
git add --renormalize changes no file contents.
@modem7
modem7 merged commit 35450aa into master Nov 14, 2026
12 checks passed
@modem7
modem7 deleted the chore/tighten-gitattributes branch November 14, 2026 23:25
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