You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature: .gitignore should also act as .cgcignore #729
Nothing in .gitignore should be indexed, so usually we must not create a .cgcignore file.
In case we still need something to index, which is in .gitignore ist still could be added as a negated pattern (! prefixed) to the .cgcignore.
Opened #1680 for this. Layering is defaults → .gitignore → .cgcignore, and since matching is last-match-wins the escape hatch you described works: dist/ in .gitignore plus !dist/ in .cgcignore still indexes it. It hooks into build_ignore_spec, the one place discovery, the SCIP pipeline and the watcher already share, so all three pick it up.
One thing worth a maintainer's call: it changes what gets indexed by default for existing repos. Easy to put behind a config flag if opt-in is preferred.
Activity
github-actions commentedon Mar 16, 2026
Hi! 👋 Join our CodeGraphContext Discord channel to collaborate: https://discord.gg/dR4QY32uYQ
AloysJehwin commentedon Aug 28, 2026
Opened #1680 for this. Layering is defaults → .gitignore → .cgcignore, and since matching is last-match-wins the escape hatch you described works:
dist/in.gitignoreplus!dist/in.cgcignorestill indexes it. It hooks intobuild_ignore_spec, the one place discovery, the SCIP pipeline and the watcher already share, so all three pick it up.One thing worth a maintainer's call: it changes what gets indexed by default for existing repos. Easy to put behind a config flag if opt-in is preferred.
feat(cgcignore): treat .gitignore as an ignore source (CodeGraphConte…
fix(viz): display source filenames for synthetic module nodes (#1682)
fix: find functions by argument type (#1686)
feat: add SSL connection parameters to Cassandra and MySQL ingestors (#…