Parcourir la source

build: gitignore the CodeGraph local index

codegraph init builds a 37 MB .codegraph/ index of 247 files (6,766 nodes,
24,562 edges). It is a per-clone artefact derived from the tree, so it is
ignored rather than committed - and the rule was added BEFORE running init,
so the index was never stageable even briefly.

In .gitignore rather than .git/info/exclude deliberately: every clone and
every agent working in this repo gets the same protection, where an exclude
file would protect only this checkout.
fszontagh il y a 1 mois
Parent
commit
b4159e38f7
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      .gitignore

+ 3 - 0
.gitignore

@@ -22,3 +22,6 @@ packaging/vendor/*.deb
 
 # Agent worktrees and local session state
 .claude/
+
+# CodeGraph local index - a per-clone artefact, never committed.
+.codegraph/