# acp_thread: Disable Git's configured pager in agent terminals \(\#61732\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/779c35d256a320ddc7611706cb54c2df93618e68)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 779c35d256a320ddc7611706cb54c2df93618e68

Requested commit: 779c35d256a320ddc7611706cb54c2df93618e68

Commit: 779c35d256a320ddc7611706cb54c2df93618e68

Tree: 5408fb35d083846c8f626fb881cdfc4656d7d191

Author: Tim Vermeulen

Committer: GitHub

## Message

```
acp_thread: Disable Git's configured pager in agent terminals (#61732)

Applies the same fix as #43277 to Zed's native agent, which indeed fixes
this issue for me locally (which I could only reproduce when
specifically telling the agent to not use `--no-pager`, FWIW).

Closes #42943

## Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content adheres to Zed's UI standards
([UX/UI](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
and
[icon](https://github.com/zed-industries/zed/blob/main/crates/icons/README.md)
guidelines)
- [ ] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

---

Release Notes:

- Fixed hang when the Zed Agent runs a `git` command with a pager
configured.

---------

Co-authored-by: MrSubidubi <finn@zed.dev>
```

## Parents

- [2318f45f4c13d6e57486d25498fe2715d21b14d0](https://git.cafe/gitcafe/zed/commit/2318f45f4c13d6e57486d25498fe2715d21b14d0?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/779c35d256a320ddc7611706cb54c2df93618e68?format=markdown)
