# git_graph: Show full commit message in tooltip on hover \(\#57032\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 70733ceb6e1dd8079030bdebfb062f92ce4809b4

Requested commit: 70733ceb6e1dd8079030bdebfb062f92ce4809b4

Commit: 70733ceb6e1dd8079030bdebfb062f92ce4809b4

Tree: 4b01bdf9dc905085941923c89e3559d0e985081d

Author: Aaron Ang

Committer: GitHub

## Message

```
git_graph: Show full commit message in tooltip on hover (#57032)

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 is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [ ] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Closes #56903 

Release Notes:

- Improved commit tooltip in Git Graph.

## Screenshots

Showing full commit message:

<img width="3024" height="1898" alt="CleanShot 2026-05-17 at 21 59
35@2x"
src="https://github.com/user-attachments/assets/503ca832-fc07-4f90-961f-a9c4e25fcba2"
/>

Truncating messages with more than 800 characters:

<img width="1536" height="1096" alt="CleanShot 2026-05-17 at 22 12 07"
src="https://github.com/user-attachments/assets/314be9a9-0aaa-44ff-aa15-de5eb38c863a"
/>


## Alternative

One thing I was considering is whether we should be using a
`HoverPopover` instead so that the preview is wider and we don't have to
truncate the commit message body. I would love to hear your thoughts on
this. For now, I stuck with the `Tooltip` for simplicity reasons.

<img width="3024" height="1896" alt="CleanShot 2026-05-17 at 22 04
39@2x"
src="https://github.com/user-attachments/assets/5b8806f6-3dce-4675-9150-df9257ad6269"
/>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Smit Barmase <heysmitbarmase@gmail.com>
```

## Parents

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

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