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.274 ·

Bare-repo/gitdir-redirect trust gate reworked with WSL UNC path support

Bare-repo trust check now also recognizes WSL UNC-style redirect paths

TierUnder the hoodhow much it should matter to you
Useful2my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaGit Securitywhat it touches
KindImprovementsin v2.1.274,
Under the hood

Bare-repo trust check now also recognizes WSL UNC-style redirect paths

What

The git_bare_repo_gate check, which looks at whether a .git symlink or gitdir file redirects somewhere untrusted, now uses a shared WSL UNC-path test instead of its own inline regular expression. This is part of a broader refactor of the logic that classifies paths as plantable, trusted, or oversized.

Why

Reusing a common, presumably more thorough path check makes this trust gate consistent with the other new redirect detection, reducing the chance of a WSL-style redirect path slipping past the bare-repo trust check.

See this entry in the whole of v2.1.274 →

Feedback