{"version":"2.1.281","anchor":"dir-sync-git-layout-probe-records-a-git-stamp-and-uses-per","canonical_anchor":"dir-sync-git-layout-probe-records-a-git-stamp-and-uses-per","heading":"Dir-sync git layout probe records a .git stamp and uses per-checkout probes","tier":"internal","area":"Cloud Sync","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.281\/e\/dir-sync-git-layout-probe-records-a-git-stamp-and-uses-per","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.281","markdown":"### Dir-sync git layout probe records a .git stamp and uses per-checkout probes\n\nDirectory sync's git safety check now records a .git stamp when it refuses a checkout and checks linked worktrees separately\n\n**Unclear.** The finding does not say what the recorded `dotgitStamp` is used for afterwards.\n\n**What**\n\nBefore directory sync runs git in a checkout, it checks that the `.git` folder looks like something git itself would create. When the check refuses a checkout because of that folder or the shared folder it points to, it now returns a `dotgitStamp`. The check also passes `probes` to the code that reads the folder layout. Linked worktrees (extra working copies attached to the same repository) now get their own configuration context. The refusal messages written to the log are unchanged.\n\n**Why**\n\nThe refusal messages you might see are the same as before. The change affects how the check inspects a checkout, especially one that is a linked worktree.\n\n- Area: Cloud Sync\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5"}