{"version":"2.1.246","anchor":"directory-sync-pins-checkouts-to-unconverted-line-endings","canonical_anchor":"directory-sync-pins-checkouts-to-unconverted-line-endings","heading":"Directory sync pins checkouts to unconverted line endings","tier":"notice","area":"Directory Sync","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.246\/e\/directory-sync-pins-checkouts-to-unconverted-line-endings","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.246","markdown":"### Directory sync pins checkouts to unconverted line endings\n\nDirectory sync disables line-ending conversion and filters so files aren't silently rewritten in transit.\n\n**What**\n\nBefore syncing a directory, Claude Code appends a rule to the repository's attributes file turning off CRLF conversion, clean\/smudge filters, ident expansion and working-tree encoding, so files are not silently rewritten in transit.\n\n**Details**\n\n- The attributes file is opened without following symlinks and with a size cap.\n- If it is not a plain file of modest size, sync warns and continues without pinning.\n- Failures warn and report false rather than aborting the sync.\n\n**Evidence**\n\n`dir-sync: cannot pin the checkout to unconverted line endings: `\n\n- Area: Directory Sync\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 2\/5"}