Skip to content

feat: support .ignore overrides for indexing#721

Open
woshinibabuxuchongfu-maker wants to merge 1 commit into
colbymchenry:mainfrom
woshinibabuxuchongfu-maker:fix-ignore-overrides-699
Open

feat: support .ignore overrides for indexing#721
woshinibabuxuchongfu-maker wants to merge 1 commit into
colbymchenry:mainfrom
woshinibabuxuchongfu-maker:fix-ignore-overrides-699

Conversation

@woshinibabuxuchongfu-maker
Copy link
Copy Markdown

Closes #699

Summary

  • Load root .ignore after .gitignore so local negation patterns can re-include paths for CodeGraph indexing.
  • Fall back to filesystem scanning when root .ignore exists, because git ls-files cannot see gitignored untracked files.
  • Keep watcher filtering aligned with indexing behavior.
  • Document .ignore as a local CodeGraph-only override layer.

Tests

  • npx vitest run __tests__/extraction.test.ts -t "Directory Exclusion"
  • npx vitest run __tests__/watcher.test.ts
  • npm run build

Note: full npm test hit Windows temp cleanup EPERM errors and later worker OOM locally, unrelated to this change.

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.

Feature Request: Support .ignore files to override .gitignore exclusions

1 participant