Gemini CLI Fixes Crash During Git Authentication
ehsan-fj · ghdev · 2026-09-02
This PR fixes a crash in the Gemini CLI occurring within restricted permission environments like macOS Seatbelt. Previously, the CLI would monitor the .git directory via the useGitBranchName hook; if permissions triggered an unhandled asynchronous error event, the Node process would terminate. The update adds an error listener to the file watcher to handle errors gracefully without crashing the CLI, and includes a new unit test to verify the fix.
More from coding & agent
- LLM one-shots a Minecraft 3x3 piston door by building its own Linux test infra — Vjeux · 2026-10-18
- Dev builds Mumbai-inspired 3D manga background generator from OpenStreetMap data — CurieuxExplorer · 2026-10-18
- Solo founder builds a money-printing data service on Claude's Pi Durable harness — MicahBerkley · 2026-10-18
- Dev builds Arch-based OS with custom desktop and browser using Claude Code — Snoo-10493 · 2026-10-18
- Pi Durable went through 7 rewrites yet agent session files still lack a standard — ricklamers · 2026-10-18
- Five SaaS agent workflows fail the same way — and it's never model intelligence — usehive · 2026-10-18