Skip to content

AI: Executing Git commands with pager hangs forever #42943

@thomaseizinger

Description

@thomaseizinger

Summary

My git config has a default pager configured. Whenever the agent runs a git command that uses the pager, it hangs forever / very long and I need to terminate the command.

Description

Steps to trigger the problem:

  1. git config core.pager=delta
  2. Tell the agent to do something with git, like list the last commits

Expected Behavior:
Agent should not hang

Actual Behavior:
Agent hangs because the terminal uses the pager

Model Provider Details

  • Provider: (Anthropic via ZedPro, Anthropic via API key, Copilot Chat, Mistral, OpenAI, etc) Copilot Chat
  • Model Name: Claude Sonnet 4.5
  • Mode: (Agent Panel, Inline Assistant, Terminal Assistant or Text Threads) Agent panel
  • Other Details (MCPs, other settings, etc):

Zed Version and System Specs

Zed: v0.213.1 (Zed Preview)
OS: Linux Wayland fedora 43
Memory: 62.1 GiB
Architecture: x86_64
GPU: AMD Radeon 890M Graphics (RADV GFX1150) || radv || Mesa 25.2.5

If applicable, attach your Zed.log file to this issue.

Zed.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:aiImprovement related to Agent Panel, Edit Prediction, Copilot, or other AI featuresarea:integrations/gitGit integration feedbackmeta:freezeEditor or OS - freezing / hanging / lockingpriority:P1Security holes w/o exploit, crash, install/update, sign-in, badly broken common featuresstate:reproducibleVerified steps to reproduce included and someone on the team managed to reproduce

    Type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions