Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
GitArea: what it touches
Internal ChangesKind: in v2.1.285,
Internal ChangesSection of the release
Unclear It is not confirmed why this was changed or whether any reader will see a different branch label.
What
Claude Code asks git for the name of the branch you are on. It used to ask for the short name. It now asks for the full name, such as refs/heads/main, and then removes the refs/heads/ part itself before showing it.
Why
The full name always points to a branch. So a branch that has the same name as a tag should still be read as the branch.
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not confirmed why this was changed or whether any reader will see a different branch label.