logoalt Hacker News

ryuuseijin • yesterday at 4:58 PM • 0 replies • view on HN

The index state corresponds to a commit hash and changing it (moving to commit B) will use git to compare the changed files and remove deleted files/functions from the index (and parse new ones).

Vector embeddings are cached, but added/removed from the index to correspond to the commit.