Skip to content

Conversation

@xiaocang
Copy link

@xiaocang xiaocang commented Jan 12, 2026

What does this PR do?

Adds a new respect_gitignore config option that controls whether .gitignore rules are respected when searching files.

How did you verify your code works?

  • Tested with respect_gitignore: false and confirmed gitignored files (e.g., node_modules/, build artifacts) appear in glob/grep/ls results
  • Tested with default config (no setting or respect_gitignore: true) and confirmed gitignored files are excluded as before

Fixed #7969

@github-actions
Copy link
Contributor

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@github-actions
Copy link
Contributor

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

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.

Add native config option to include gitignored files in search

1 participant