Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.274 ·

New git worktree-create refusal for unsafe LFS config keys

Creating a git worktree can now be refused if the repo's git config sets an unsafe Git LFS-related key

TierYou'll noticehow much it should matter to you
Useful2my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaElsewherewhat it touches
KindImprovementsin v2.1.274,
You'll notice

Creating a git worktree can now be refused if the repo's git config sets an unsafe Git LFS-related key

What

Claude Code can now refuse to create a git worktree or checkout with a new reason, unsafe_key, when the repository's own git config sets an LFS (Git Large File Storage)-related config key that names a program git-lfs would run during checkout or status.

Why

A repository's git config can be crafted to make git-lfs automatically run an arbitrary program. Refusing the worktree creation in that case stops Claude Code from triggering that program without the user knowing.

See this entry in the whole of v2.1.274 →