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.