Replies: 1 comment 1 reply
|
The repo-tool layout is the likely culprit. In a repo-managed tree, each project's .git entry is a symlink (or a gitfile) pointing into the shared repo metadata directory that lives one level above the project — so every git read physically resolves outside your DSH workspace root. When the sandboxed fs/subprocess containment sees git touching real paths outside the allowed workspace, it treats the access as out-of-bounds and raises an approval prompt — once per git invocation, hence "repeatedly asks for permission" on every status/log query. Two things would confirm which layer is prompting (the fix differs):
Practical workarounds that usually fix it today:
A proper core fix would classify "the workspace's own git dir, wherever the symlink resolves" as in-bounds for read-only plumbing. If you can paste the prompt text (paths redacted if you prefer), I can pinpoint the exact guard and say whether a core patch or a workaround is the right path. |
Uh oh!
There was an error while loading. Please reload this page.
用repo管理的仓库,git信息在项目上一级
.repo目录下,当前目录.git是个软链接,查询git信息的时候会反复申请权限,不友好All reactions