You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Security/robustness:
- WithToken now resets the inherited credential.helper (`-c credential.helper=`)
so a token clone never persists the token to disk (e.g. ~/.git-credentials via
the `store` helper), and places the GIT_ASKPASS shim under the XDG runtime dir
(exec-permitting) instead of a possibly-noexec /tmp.
- hardenedEnv sets `GIT_SSH_COMMAND=ssh -o BatchMode=yes -o ConnectTimeout=10`
when no TTY is attached (and not preset), so an unknown host key or a
passphrase-protected key with no agent fails fast per-repo instead of hanging
the parallel batch (acceptance #6) — still honoring ~/.ssh/config + ProxyJump.
Correctness:
- `ws clone` validates the existing remote with git.SameRemote (ssh/https/
shorthand equivalence) and treats an unreadable origin as a per-repo failure
rather than a silent pass.
- `ws git` now follows the spec grammar `git <args> -- [names]` (ArgsLenAtDash)
and supports the repo-name subset.
- status table: show the conflicts count when non-zero; render AHEAD/BEHIND as
"-" for an upstream-gone branch instead of a misleading "+0/-0".
- ExpandURL trims the repo:/shorthand value (no leaked leading space).
New tests: SameRemote equivalence, credential.helper reset, URL trimming.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments