You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
Code ReviewArea: what it touches
Bug FixesKind: in v2.1.227,
Bug FixesSection of the release
What
Before starting a remote review, Claude Code now checks whether the repository has any refs at all and fails the precondition with reason no_refs, instead of continuing into a merge-base calculation that could never succeed.
Details
The check runs git for-each-ref --count=1 refs/.
Evidence
"for-each-ref", "--count=1", "refs/"
Strings lifted out of the shipped bundle, so the claim above can be checked against them.