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
- Salesforce research: buyer agents concede too easily, images boost persuasion ~17% — msrivastav13 · 2026-12-05
- Grok Build launches agent-driven post-quantum cryptography migration after NSA advisory, with $1,000 credits — ns123abc · 2026-12-05
- Seroter's reading list: post-quantum prep, agent harnesses, and life after 99% AI code — rseroter · 2026-12-05
- WSDM Cup 2027 Offers $10k to Build Autonomous Community Notes Agents — sanmikoyejo · 2026-12-05
- Trying Copilot Studio MCP for agent cloning and Power Automate sync: janky but workable — koltregaskes · 2026-12-05
- xAI launches Grok Bot: autonomous AI teammates that live in Slack and Teams — Baconbrix · 2026-12-05