Skip to content

fix: respect gitignore in search results#47

Open
nagiexplorer88 wants to merge 1 commit into
zigcBenx:masterfrom
nagiexplorer88:codex-respect-gitignore-search
Open

fix: respect gitignore in search results#47
nagiexplorer88 wants to merge 1 commit into
zigcBenx:masterfrom
nagiexplorer88:codex-respect-gitignore-search

Conversation

@nagiexplorer88
Copy link
Copy Markdown

Fixes #35.

Summary

  • Reads each workspace root .gitignore when search.useIgnoreFiles is enabled.
  • Filters Storm Search candidate files against common .gitignore patterns before content search.
  • Supports comments, negation, rooted rules, directory-only rules, and */?/** globs without adding a dependency.

Validation

  • git diff --check
  • npm run compile was blocked locally because this fresh clone has no installed dependencies and tsc is unavailable. I did not run npm install.

AI-assisted implementation, manually reviewed before submission.

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.

[FEAT] Ignore the .gitignore files to be searched in

1 participant