Browse Source
The lastCommit field was shared across all repository keys, causing MissingObjectException when multiple repositories were registered. When onUpdate fired for repo A it overwrote lastCommit, and subsequent listFiles/getFileContent calls for repo B used repo A's commit whose tree objects don't exist in repo B's object database. Changed to a per-key Map<String, RevCommit> so each repository's resolved commit is stored and retrieved independently. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>pull/15117/head
1 changed files with 12 additions and 4 deletions
Loading…
Reference in new issue