{"version":"2.1.287","anchor":"git-head-fingerprint-now-includes-logshead-for-non-branch-r","canonical_anchor":"git-head-fingerprint-now-includes-logshead-for-non-branch-r","heading":"Git state check reads the HEAD history when you are not on a branch","tier":"internal","area":"Git","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.287\/e\/git-head-fingerprint-now-includes-logshead-for-non-branch-r","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.287","markdown":"### Git state check reads the HEAD history when you are not on a branch\n\nClaude Code's check for git changes now reads git's HEAD history file when HEAD does not point at a regular branch\n\n**Unclear.** It is not clear what Claude Code uses this git state summary for.\n\n**What**\n\nClaude Code keeps a short summary of your git repository's current state so it can tell when it changes. When HEAD (git's pointer to what you have checked out) does not point at a regular branch, the summary now uses `logs\/HEAD`, git's record of where HEAD has pointed. If that file cannot be read as expected, the check gives up.\n\n**Why**\n\nThis affects how Claude Code notices changes in your git state when you are not on a normal branch.\n\n- Area: Git\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5"}