diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-05-20 19:45:27 +0000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-05-20 19:45:27 +0000 |
| commit | 69208e618b0084ec18932120197f94bab98b713d (patch) | |
| tree | 35a10830c1da331f15f6030f98f9a2df77c36e6f /scripts/reset-running-tasks | |
| parent | 4bef835671542d5785c7dc6229662b9d5b0053f8 (diff) | |
fix: use git tracking branch instead of hardcoded origin/master in teardownSandbox
Replace explicit 'git pull --rebase origin master' with 'git pull --rebase'
(no remote/branch), which uses the upstream configured by git clone. This
correctly handles repos where the default branch is 'main', 'trunk', or
any other name — not just 'master'.
Also apply gitSafe flags (-c safe.directory=* -c commit.gpgsign=false etc)
consistently to the status, push, pull, and log commands in teardownSandbox
that were missing them.
The variable-shadowing bug noted in CLAUDE.md was already resolved in the
github/main merge (both setupSandbox calls used '=' not ':='); strike it
from the docs.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'scripts/reset-running-tasks')
0 files changed, 0 insertions, 0 deletions
