{"version":"2.1.337","anchor":"sourcerefnotfound-for-64-digit-commit-ids","canonical_anchor":"sourcerefnotfound-for-64-digit-commit-ids","heading":"Clearer error when a 64-digit commit id is used in a 40-digit repository","tier":"notice","area":"Git","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337\/e\/sourcerefnotfound-for-64-digit-commit-ids","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337","markdown":"### Clearer error when a 64-digit commit id is used in a 40-digit repository\n\nUsing a 64-digit git commit id in a repository with 40-digit ids now gives a specific error instead of a generic not-found message\n\n**What**\n\nGit names each commit with an id. Most repositories use 40-digit ids, and some newer ones use 64-digit ids. If you give a 64-digit commit id for a repository that uses 40-digit ones, Claude Code now says: \"This repository's git commit ids have 40 digits, not 64.\" Before, it showed a generic message saying the branch could not be found.\n\n**Why**\n\nThe error tells you what is actually wrong, which helps most when starting remote sessions from a particular commit.\n\n- Area: Git\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}