Skip to content

fix: check links only in files git would commit - #3

Merged
tbortolossi merged 1 commit into
mainfrom
fix/validate-skip-ignored
Oct 4, 2026
Merged

tbortolossi merged 1 commit into
mainfrom
fix/validate-skip-ignored

Conversation

@tbortolossi

Copy link
Copy Markdown
Owner

tools/validate.sh walked the whole tree with os.walk, so a Markdown note under an ignored directory (docs/private/, where e-mailed contributions are kept) failed the link check and made tools/intake.sh abort.

It now lists files with git ls-files -co --exclude-standard -- '*.md': tracked and new files are still checked, ignored ones are not. .github/ stays excluded as before.

Tested: passes with an ignored docs/private/*.md present; a new untracked file with a broken link is still reported.

🤖 Generated with Claude Code

validate.sh walked the whole tree, so a note under an ignored directory
(docs/private/) failed the check and blocked tools/intake.sh. List the
Markdown files with git ls-files -co --exclude-standard instead: tracked
and new files are still checked, ignored ones are not.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@tbortolossi
tbortolossi merged commit 97dc348 into main Oct 4, 2026
2 checks passed
@tbortolossi
tbortolossi deleted the fix/validate-skip-ignored branch October 4, 2026 10:44
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