{"version":"2.1.332","anchor":"git-ref-check-refactored-into-hcr","canonical_anchor":"git-ref-check-refactored-into-hcr","heading":"Reading git HEAD files tidied up, with no change in behaviour","tier":"internal","area":"Git","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.332\/e\/git-ref-check-refactored-into-hcr","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.332","markdown":"### Reading git HEAD files tidied up, with no change in behaviour\n\nClaude Code's check of git HEAD and ref files was reorganised and behaves the same way\n\n**What**\n\nClaude Code reads git's HEAD and ref files, which record which branch or commit a repository is on. That check has been moved into one shared piece of code. It still treats a file that points to another reference, or that contains a path, the same way as before.\n\n**Why**\n\nThis is an internal tidy-up, and git repositories should behave as they did.\n\n- Area: Git\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 0\/5\n- Scope: individual\n- Heads-up: no"}