Git Séance tool recovers deleted functions from git history using semantic search
A developer built Git Séance, a local command-line tool that scans every version of every file across branches to find functions that no longer exist at HEAD. Instead of requiring the exact function name as git log -S does, users can describe what a deleted function did and get ranked matches. The tool reports when each function was introduced, when it was removed, and the commit responsible, and can restore its last live version. It uses EmbeddingGemma 2, an open-weight model, so all processing happens on the user's machine and repository history stays local. The developer demonstrated it on two of their public repositories, a coding agent and a map library.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in