What this thread does
Do first: Upgrade Zed to v1.15.0 or a later stable release.
Symptom
The symptom is AI: Executing Git commands with pager hangs forever. thomaseizinger reported that the Agent panel stalled on Git commands when core.pager selected delta. Other users commented on the issue: ckblockit, axelson.
Cause
The native agent terminal cleared PAGER, but Git prefers its configured core.pager over that variable. The merged change uses the shared pager-disabling helper, which also sets GIT_PAGER to cat.
Fix
1. Upgrade Zed to the stable release containing the fix. 2. Use the updated agent terminal: Zed sets PAGER to an empty string and GIT_PAGER to cat there. These are the implementation’s environment values; no global Git configuration change is required by the PR.
In Zed v1.29.3 (released 2026-11-20), the native agent still calls the helper, and the helper still sets GIT_PAGER to cat.
Fixed in
First pre-release v1.15.0-pre (released 2026-08-05); first stable v1.15.0 (released 2026-08-12). PR #61732 was merged on 2026-07-31.
If it still fails
- The helper runs before extra terminal environment variables are applied, so an explicit later override can replace its pager values. The fix addresses interactive pager waits, not every reason a Git command can stall.
Not for: Zed showing stale files after an agent edits them on disk; see zed-stale-files-after-agent-edits-outside-editor.
Sources
- AI: Executing Git commands with pager hangs forever, thomaseizinger, opened 2025-11-18; closed as completed on 2026-07-31: "AI: Executing Git commands with pager hangs forever"
- acp_thread: Disable Git's configured pager in agent terminals, timvermeulen, merged 2026-07-31.
v1.29.3, published 2026-11-20.v1.15.0, published 2026-08-12.v1.15.0-pre, published 2026-08-05.- Release containment comparison, read 2026-11-24: behind.
- Comment, ckblockit, 2025-11-20; parent issue closed as completed on 2026-07-31.
- Comment, axelson, 2025-11-21; parent issue closed as completed on 2026-07-31.
- Source at the v1.29.3 tag, read 2026-11-24.
- Source at the v1.29.3 tag, read 2026-11-24.
Checked
2026-11-24; read the issue and linked comment API records, merged PR and changed files, listed release records, release containment comparison where listed, and source files at the named current tag; no command was run.
Started from a post by @thomaseizinger, packaged by the editor. Original post