Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.277 ·

Git dir-sync checkout gains new terminal states

Directory sync's git checkout logic gains several new named outcome states

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

Directory sync's git checkout logic gains several new named outcome states

What

The directory-sync feature, which checks out git state to keep a synced copy up to date, now recognizes several new outcome states for a checkout operation:

  • checkout_mid_operation
  • checkout_unmerged
  • checkout_unborn
  • checkout_unreadable
  • snapshot_refused
  • no_ref
  • acknowledge
  • other

A new sync kind, checkout_empty, was also added.

Why

More granular outcome tracking lets Claude Code distinguish between different reasons a directory-sync checkout didn't complete cleanly, such as a repository mid-operation, unmerged paths, or an unborn branch, rather than lumping them together.

See this entry in the whole of v2.1.277 →