Repository navigation
Mark design pen files as generated - #490
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ohakutsu
marked this pull request as ready for review
November 30, 2026 09:59
ohakutsu
requested review from
a team and
inukai-masanori
and removed request for
a team
November 30, 2026 10:01
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
GitHub の PR の Files changed で、
design/配下の.penの差分を折りたたんで表示する。How
design/**/*.penにlinguist-generated=trueを付けた。git ls-files '*.pen' | xargs git check-attr linguist-generated --で、既存の.pen4 件すべてがlinguist-generated: trueになることを確かめた。未検証の範囲: この PR 自体は
.penを変更しないので、折りたたまれる表示は次に.penを含む PR で確かめる。Why
.penをlinguist-generated=trueにすることにした。.penは行数が多く、新しいページの.penを置く PR で Files changed が重くなる(例: #413 では.pen1 ファイルで +8629 行)。一方で、.penの差分を直接読むことはなく、スクリーンショットや、.penを VS Code などで開いて見ている。linguist-generated=trueを付けると、Files changed で.penの差分が折りたたまれ(「Load diff」を押したときだけ読み込まれる)、言語の統計からも外れる。Refs