From e5e43efafa83413b1a8f67e0d1be1e36e8b8cfcc Mon Sep 17 00:00:00 2001 From: christian-westerkam Date: Wed, 21 Oct 2026 00:06:42 +0200 Subject: [PATCH] Let git ls-remote reach Gitea from the sandbox Run git ls-remote unsandboxed so SSH works, and ask before each use like the other network git commands. Co-Authored-By: Claude Opus 5.5 --- .claude/settings.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.claude/settings.json b/.claude/settings.json index 20edfd7..ce97ee0 100644 --- a/.claude/settings.json +++ b/.claude/settings.json @@ -22,7 +22,8 @@ "ask": [ "Bash(git push:*)", "Bash(git fetch:*)", - "Bash(git pull:*)" + "Bash(git pull:*)", + "Bash(git ls-remote:*)" ] }, "sandbox": { @@ -60,7 +61,8 @@ "git push:*", "git fetch:*", "git pull:*", - "git commit:*" + "git commit:*", + "git ls-remote:*" ] }, "hooks": {