Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.268 ·

Directory-sync now verifies git config wasn't mutated mid-read before trusting it

Directory-sync now detects if git config changed while being read and refuses to trust it

TierYou'll noticehow much it should matter to you
Useful2my rating, 1 to 5
Signal2worth watching, 1 to 5
AreaGit Safetywhat it touches
KindImprovementsin v2.1.268,
You'll notice

Directory-sync now detects if git config changed while being read and refuses to trust it

What

When Claude Code's directory-sync feature decides whether it's safe to run git in a synced checkout, it now takes a fingerprint of each git config file (its device, inode, size, and change time, plus a hash for small files, following symlinks) both before and after reading it. If the fingerprint changed during the read, or a follow-up check shows the config changed since it was read, Claude Code now refuses to run git there rather than trusting a config that might have been altered mid-read.

Why

This guards against acting on a git configuration that was modified while it was being read, which could otherwise lead to running git with stale or tampered settings.

See this entry in the whole of v2.1.268 →

Feedback