Gemini CLI Fix: Prevents Terminal Freeze from Background Git Ops
DavidAPierce · ghdev · 2026-09-01
This PR resolves a critical issue in Google Gemini CLI where background Git extension updates or clones caused the terminal TUI to freeze by hijacking stdin for credential prompts. The fix implements a createNonInteractiveGit helper, configuring simple-git with GITTERMINALPROMPT=0 and GITSSHCOMMAND flags, and adds a 15s timeout for background network checks. This ensures the CLI remains responsive, especially with slow or authenticated private remotes.
More from Infra
- TensorSharp vs llama.cpp: Qwen 3.8 Flash Next Benchmarks — fuzhongkai · 2026-09-01
- 2 engineers + AI designed a working LLM chip in 2 weeks, no human in the loop — 新智元 · 2026-09-01
- Why did increasing context size increase speed in Llama.cpp? — satnl · 2026-09-01
- AI inference demand surges again, supply brutally outpaced by token growth — Baconbrix · 2026-09-01
- Warp founder predicts cloud-based collaborative factories for all companies within a year — charlieholtz · 2026-09-01
- JPM: 1GW of AI Infrastructure Costs $40-45B, Frontier Labs Make ~$30B per GW — zephyr_z9 · 2026-09-01