Skip to content

Mark only the root min files as generated - #568

Merged
CodeByZach merged 1 commit into
masterfrom
gitattributes-anchor
Nov 8, 2026
Merged

CodeByZach merged 1 commit into
masterfrom
gitattributes-anchor

Conversation

@CodeByZach

Copy link
Copy Markdown
Owner

Anchors pace.min.js and pace-theme-default.min.css in .gitattributes to the repository root, so files with the same name in other folders aren't marked as generated. git check-attr marks the same 152 files as before.

Without a leading slash, "pace.min.js" and "pace-theme-default.min.css"
match files of that name in any folder. Anchoring them limits the
attribute to the two files the build writes. themes/** already only
matches the root themes folder. The same 152 files are marked.
@CodeByZach
CodeByZach merged commit 63def83 into master Nov 8, 2026
2 checks passed
@CodeByZach
CodeByZach deleted the gitattributes-anchor branch November 8, 2026 01:03
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