Skip to content

chore(repo): carry the fleet .gitattributes markdown carve-out - #44

Merged
forkwright merged 1 commit into
mainfrom
chore/add-gitattributes
Aug 24, 2026
Merged

chore(repo): carry the fleet .gitattributes markdown carve-out#44
forkwright merged 1 commit into
mainfrom
chore/add-gitattributes

Conversation

@forkwright

Copy link
Copy Markdown
Owner

Adds the one-line .gitattributes seven other fleet repositories already carry.

*.md whitespace=-trailing-space,-blank-at-eol

Byte-identical to harmonia, thumos, theatron, aletheia, logismos, typikon and epitelesis. FLEET-REPO-SETUP.md lists .gitattributes among the files every repo carries and names this carve-out specifically (D-055).

Why the carve-out exists

Trailing spaces are load-bearing in markdown — two of them are a hard line break. Git's default whitespace warnings therefore flag correct prose as an error, and a warning that fires on correct content is one readers learn to skip, which costs you the warnings that matter.

What it deliberately does not copy

kanon's .gitattributes also carries an LFS filter, and aletheia's carries -merge rules for five generated artifacts. Neither applies here — this repo has no such files, and importing rules for files that do not exist is how a config becomes something nobody can reason about.

Found by

A fleet-wide consistency audit against the canonical standard. Two repos were missing this file: this one and the other of the pair, which gets the same change.

Also found, and deliberately not changed here

rust-version = "1.85" in this repo's Cargo.toml is the value the fleet CI template ships as a placeholder, above a # PROJECT: update MSRV version marker. It was never overridden with a measured MSRV — but neither this repo nor its sibling runs an MSRV job, so 1.85 is unverified rather than provably wrong, and edition = "2024" requires 1.85 as a floor in any case. Substituting a different unmeasured number would not be an improvement. Recorded rather than changed.

Seven fleet repositories carry this exact line and this one did not, so markdown
here is subject to git's default trailing-whitespace complaints while the rest
of the fleet is not. FLEET-REPO-SETUP.md lists .gitattributes among the files
every repo carries, and names this carve-out specifically (D-055).

The carve-out exists because trailing spaces are load-bearing in markdown -- two
of them are a hard line break -- so git's default whitespace warnings flag
correct prose as an error and train readers to ignore the warning entirely.

One line, identical to harmonia, thumos, theatron, aletheia, logismos, typikon
and epitelesis. No LFS or merge-strategy entries: this repo has no artifact
needing either, and copying kanon's would import rules for files that do not
exist here.
@forkwright
forkwright merged commit 40f7dd7 into main Aug 24, 2026
12 checks passed
@forkwright
forkwright deleted the chore/add-gitattributes branch August 24, 2026 16:13
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