{"version":"2.1.277","anchor":"cross-filesystem-exdev-fallback-for-atomic-sync-file-write","canonical_anchor":"cross-filesystem-exdev-fallback-for-atomic-sync-file-write","heading":"Cross-filesystem (EXDEV) fallback for atomic sync-file writes","tier":"notice","area":"Git Internals","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.277\/e\/cross-filesystem-exdev-fallback-for-atomic-sync-file-write","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.277","markdown":"### Cross-filesystem (EXDEV) fallback for atomic sync-file writes\n\nSync-file writes now fall back cleanly when the staging area is on a different filesystem than the destination\n\n**What**\n\nClaude Code's local git object\/directory-sync layer writes files atomically (all-or-nothing) by first hardlinking them into a staging area on the same device. If that fails with an `EXDEV` error, meaning the staging area is on a different filesystem than the destination, it now falls back to a direct write instead of throwing an error.\n\n**Why**\n\nThis keeps sync-file writes working reliably even when the staging area and the destination live on different filesystems, a situation that previously caused a hard failure.\n\n- Area: Git Internals\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5"}