Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
Git SyncArea: what it touches
Internal ChangesKind: in v2.1.280,
Internal ChangesSection of the release
What
Claude Code's snapshot function, used for git directory syncing, gained an acceptMovedHead option. If a caller opts in and the repository's HEAD moves while the snapshot is being taken, the snapshot now continues using the HEAD it first read instead of failing with a "momentary" error. The result also now reports indexLockThroughout (whether the index lock was held for the whole pass) and headMovedAccepted (whether a HEAD move was accepted).
Why
This makes git snapshots more resilient to HEAD changing mid-snapshot when explicitly allowed, while still reporting exactly what happened so problems can be diagnosed.