Skip to content

Release 2.1.64 (2026-06-23)

Bug fixes

  • inject auth for git remote prune and never hang on prompts (#1832)
  • fix(git): inject auth for git remote prune and never hang on prompts

git remote prune origin ls-remotes the origin to compute stale refs (a network op), but lib/git only injected the installation token for {push, pull, fetch, ls-remote}. With first arg "remote" no token was injected, so against a private repo with no TTY git hung forever on an unanswerable credential prompt (vrg-finalize-pr wedged at "Pruning stale remote-tracking references").

Add "remote" to _REMOTE_SUBCOMMANDS so the prune is token-injected; the auth env is a harmless no-op for local git remote subcommands. Also set GIT_TERMINAL_PROMPT=0 on every git invocation so any unanticipated network op fails fast instead of hanging.