d3d12_switches: no count lines, one name per line, so two added switches do not conflict #3318
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3318"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-03T10:39:05Z.
Claim:
ORG-SWITCHES-NO-CONFLICTin #3312.41 of the 214 open pull requests touch
d3d12/docs/switches.md, and each merge put the others in conflict. The page had two kinds of global lines that every added switch rewrote:tools/d3d12_switches.pynow writes no totals (a fixed note says so) and lists the test-only and comment-only names one per line;--checkreads the new list. Rows were already sorted, one per line. The tracked page is regenerated.Effect
git mergeconflicted on the count line with the old generator, and merges cleanly with the new one.Tested
python -I tests/test_d3d12_switches.py: 21 OK, including a new test that an added name adds exactly one line, removes none, and that no "N names" line is left.tests/test_docs_*.py: OK.python -I tools/d3d12_switches.py --check d3d12/docs/switches.md: exit 0, after merging main.scripts/check_no_game_data.pyon the changed files: clean. No GPU or game files involved.AI-assisted (Claude Code, Claude Opus 5.5). Independent review: a separate Claude Opus 5.5 agent before merge.
🤖 Generated with Claude Code