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 ·

Bug fix: bare-git-repo scrub used mismatched variable when falling back to a directory check

Bug fix: bare-git-repo path scrubbing now checks and acts on the same variable

TierUnder the hoodhow much it should matter to you
Useful1my rating, 1 to 5
Signal0worth watching, 1 to 5
AreaGit Securitywhat it touches
KindBug Fixesin v2.1.274,
Under the hood

Bug fix: bare-git-repo path scrubbing now checks and acts on the same variable

What

In the logic that scrubs file paths for bare git repositories, a fallback directory check was comparing one variable but then acting on a different one, inconsistent with the surrounding code. This has been fixed so the check and the resulting action both use the same path variable.

Why

This fixes a mismatch that could have caused the wrong path to be checked or acted upon during path scrubbing.

See this entry in the whole of v2.1.274 →