Files
Jason GuoandClaude Code 32a5a77a7a fix(repocache): stop Git Credential Manager login dialogs during startup repo sync (#9386)
On Windows the system-wide credential.helper=manager opens a GUI login
window for every HTTPS git operation that has no stored credential.
GIT_TERMINAL_PROMPT=0 does not stop it. At daemon startup one repo-sync
goroutine runs per workspace in parallel, so a first open on a machine
without stored credentials pops up dozens of GCM login windows at once.

Set GCM_INTERACTIVE=never for daemon repo-cache git commands: stored
credentials are still resolved and used, but when none is stored GCM
fails fast instead of prompting, the sync logs a clear error, and the
next sync cycle picks the credential up after the user authenticates
once out of band.

Co-authored-by: Claude Code <[email protected]>
2026-10-21 18:54:18 +08:00
..