Directory sync disables line-ending conversion and filters so files aren't silently rewritten in transit.
What's wrong with this entry?
Before 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.
- The attributes file is opened without following symlinks and with a size cap.
- If it is not a plain file of modest size, sync warns and continues without pinning.
- Failures warn and report false rather than aborting the sync.
dir-sync: cannot pin the checkout to unconverted line endings:
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.238
Sync state machine gains a moved-root case and a per-turn pull hook
Both mention directory
-
v2.1.238
Untracked-file survey extracted and shared
Both mention directory
-
v2.1.238
Sync internals reshaped around per-file credential state
Both mention directory