Skip to content

docs: update README for nested .gitignore + --exclude#20

Merged
lesnik512 merged 1 commit into
mainfrom
docs/readme-nested-gitignore
Jun 26, 2026
Merged

docs: update README for nested .gitignore + --exclude#20
lesnik512 merged 1 commit into
mainfrom
docs/readme-nested-gitignore

Conversation

@lesnik512

Copy link
Copy Markdown
Member

The README (and therefore the PyPI landing page) described pre-0.4.0 behavior. Fixes the stale claim and documents the new feature.

Changes

  • Corrected a false statement: the Configuration section claimed "Only the .gitignore at the root of the supplied path is consulted; nested .gitignore files in subdirectories are not read." — reversed in 0.4.0. It now describes nested resolution with Git precedence (deeper wins, ! re-includes) and the pure-filesystem scope (no .git/info/exclude, no global core.excludesFile, no git invocation; works on any directory).
  • Documented --exclude: a usage example (--exclude node_modules --exclude dist) plus a Configuration bullet noting it augments the default .cache/.uv-cache skips; .git is always skipped and not configurable.
  • Features list: mentions nested .gitignore and the --exclude flag.

Docs only.

🤖 Generated with Claude Code

Line 91 still claimed only the root .gitignore was read — false since
0.4.0. Document nested .gitignore resolution, the pure-filesystem scope,
and the --exclude flag (usage example + configuration).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@lesnik512 lesnik512 merged commit 76ff52b into main Jun 26, 2026
6 checks passed
@lesnik512 lesnik512 deleted the docs/readme-nested-gitignore branch June 26, 2026 18:11
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