Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.239 Home All releases olderv2.1.238 v2.1.240newer
Claude Code v2.1.239

Directory sync skips files under a git content filter

You'll notice
Useful2 Signal3
Directory Sync

Directory sync now skips files under a git content filter and tells you the reason.

What

Syncing a directory now consults git check-attr to see whether each file sits under a git content filter, and leaves those files behind rather than copying them. Skipped files are reported with the reason content_filter, or attributes_unreadable when the file's git attributes cannot be read at all, which is handled the same way as the other outcomes where the attribute store cannot be consulted. Failure reporting and pull statistics were extended to match, so a sync now says more precisely what it did and why.

Details
  • The content filter check runs at both stages of a sync: the initial file inventory and the pull step that fetches file contents.
  • Sync failures now distinguish version_unsupported, meaning the git version in use cannot do the check, and aborted from a plain timeout, so a stalled sync is no longer conflated with an unsupported or cancelled one.
  • Retries after a failure can now back off exponentially rather than retrying at a fixed interval.
  • Pull statistics gained counters for content-filtered files, for copies that were kept, and for replacements made without keeping a copy.
  • Apply results additionally report replaced and removed counts, the overlay status and head, and a reason when the file manifest is rejected.
Evidence

content_filter, version_unsupported

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.

See this entry in the whole of v2.1.239 →