Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.277 ·

Cloud/remote directory-sync 'empty git start' now distinguishes detached vs attached sessions and checks reflog

Cloud directory-sync's initial-checkout logic now distinguishes detached from attached sessions and checks the reflog

TierUnder the hoodhow much it should matter to you
Useful2my rating, 1 to 5
Signal2worth watching, 1 to 5
AreaDirectory Syncwhat it touches
KindInternal Changesin v2.1.277,
Under the hood

Cloud directory-sync's initial-checkout logic now distinguishes detached from attached sessions and checks the reflog

What

The logic that determines the starting state of a git checkout when syncing a sandbox or cloud checkout now explicitly tracks whether the branch is detached (has no branch name), and records this along with an origin value in its telemetry. It also now checks for matching refs under both the existing turns-ref prefix and a new second ref prefix, and checks whether a HEAD reflog exists, before deciding whether a checkout should be treated as 'unborn' (no commits yet) or 'committed'.

Why

This makes the sync system's judgment about a fresh checkout's state more accurate, covering detached-branch sessions and an additional ref location that weren't distinguished before.

See this entry in the whole of v2.1.277 →

Feedback