diff options
| author | Danilo M. <danix@danix.xyz> | 2026-10-20 10:08:11 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-10-20 10:08:11 +0200 |
| commit | b3ec33b9a0f851792f98eda8b209d9cf9798d46a (patch) | |
| tree | 0ac7f942c8cae64d40c62868cd994a0dd01e38da /examples/tools/mode.toml | |
| parent | f6a2524658e113561a102f86997f9e236f22e9d8 (diff) | |
| download | desktop-assistant-b3ec33b9a0f851792f98eda8b209d9cf9798d46a.tar.gz desktop-assistant-b3ec33b9a0f851792f98eda8b209d9cf9798d46a.zip | |
clone tool: fail instead of prompting, lowercase host, update only on 1
A missing or private https repo made git ask for a username through SSH_ASKPASS, which on this desktop is pinentry-qt: a login dialog popped up and the tool waited up to its 300 s timeout. SSH_ASKPASS is now unset and GIT_TERMINAL_PROMPT=0, so the clone fails in about 0.2 s with "terminal prompts disabled".
The host is lowercased before the map lookup, so GitHub.com finds GITHUB. update pulls only when it is 1, so a model passing 0 gets the question, not a pull.
test-clone.sh checks all three; the new checks fail on the previous script.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'examples/tools/mode.toml')
0 files changed, 0 insertions, 0 deletions
